object
AdminUtils
extends Logging
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
val
TopicConfigChangeZnodePrefix
: String
-
def
addPartitions
(zkClient: ZkClient, topic: String, numPartitions: Int = 1, replicaAssignmentStr: String = "", checkBrokerAvailable: Boolean = true, config: Properties = new Properties): Unit
-
def
asInstanceOf
[T0]
: T0
-
def
assignReplicasToBrokers
(brokerList: Seq[Int], nPartitions: Int, replicationFactor: Int, fixedStartIndex: Int = 1, startPartitionId: Int = 1): Map[Int, Seq[Int]]
-
def
changeTopicConfig
(zkClient: ZkClient, topic: String, configs: Properties): Unit
-
def
clone
(): AnyRef
-
def
createOrUpdateTopicPartitionAssignmentPathInZK
(zkClient: ZkClient, topic: String, partitionReplicaAssignment: Map[Int, Seq[Int]], config: Properties = new Properties, update: Boolean = false): Unit
-
def
createTopic
(zkClient: ZkClient, topic: String, partitions: Int, replicationFactor: Int, topicConfig: Properties = new Properties): Unit
-
def
debug
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
debug
(e: ⇒ Throwable): Any
-
def
debug
(msg: ⇒ String): Unit
-
def
deleteTopic
(zkClient: ZkClient, topic: String): Unit
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
error
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
error
(e: ⇒ Throwable): Any
-
def
error
(msg: ⇒ String): Unit
-
def
fatal
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
fatal
(e: ⇒ Throwable): Any
-
def
fatal
(msg: ⇒ String): Unit
-
def
fetchAllTopicConfigs
(zkClient: ZkClient): Map[String, Properties]
-
def
fetchTopicConfig
(zkClient: ZkClient, topic: String): Properties
-
def
fetchTopicMetadataFromZk
(topics: Set[String], zkClient: ZkClient): Set[TopicMetadata]
-
def
fetchTopicMetadataFromZk
(topic: String, zkClient: ZkClient): TopicMetadata
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
getManualReplicaAssignment
(replicaAssignmentList: String, availableBrokerList: Set[Int], startPartitionId: Int, checkBrokerAvailable: Boolean = true): Map[Int, List[Int]]
-
def
hashCode
(): Int
-
def
info
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
info
(e: ⇒ Throwable): Any
-
def
info
(msg: ⇒ String): Unit
-
def
isInstanceOf
[T0]
: Boolean
-
var
logIdent
: String
-
lazy val
logger
: Logger
-
val
loggerName
: String
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
val
rand
: Random
-
def
swallow
(action: ⇒ Unit): Unit
-
def
swallowDebug
(action: ⇒ Unit): Unit
-
def
swallowError
(action: ⇒ Unit): Unit
-
def
swallowInfo
(action: ⇒ Unit): Unit
-
def
swallowTrace
(action: ⇒ Unit): Unit
-
def
swallowWarn
(action: ⇒ Unit): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
topicExists
(zkClient: ZkClient, topic: String): Boolean
-
def
trace
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
trace
(e: ⇒ Throwable): Any
-
def
trace
(msg: ⇒ String): Unit
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
warn
(msg: ⇒ String, e: ⇒ Throwable): Unit
-
def
warn
(e: ⇒ Throwable): Any
-
def
warn
(msg: ⇒ String): Unit
Inherited from AnyRef
Inherited from Any