class
AdminUtils extends Logging
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
val
TopicConfigChangeZnodePrefix: String
-
def
addPartitions(curator: CuratorFramework, topic: String, newNumPartitions: Int, partitionReplicaList: Map[Int, Seq[Int]], brokerList: Set[Int], readVersion: Int): Unit
-
def
addPartitionsToTopics(curator: CuratorFramework, topicAndReplicaList: Seq[(String, Map[Int, Seq[Int]])], newNumPartitions: Int, brokerList: Set[Int], readVersions: Map[String, Int]): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
assignReplicasToBrokers(brokerListSet: Set[Int], nPartitions: Int, replicationFactor: Int, fixedStartIndex: Int = 1, startPartitionId: Int = 1): Map[Int, Seq[Int]]
-
def
changeTopicConfig(curator: CuratorFramework, topic: String, config: Properties, readVersion: Int): Unit
-
def
clone(): AnyRef
-
def
createOrUpdateTopicPartitionAssignmentPathInZK(curator: CuratorFramework, topic: String, partitionReplicaAssignment: Map[Int, Seq[Int]], config: Properties = new Properties, update: Boolean = false, readVersion: Int = 1): Unit
-
def
createTopic(curator: CuratorFramework, brokers: Set[Int], topic: String, partitions: Int, replicationFactor: Int, topicConfig: Properties = new Properties): Unit
-
def
debug(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
debug(msg: ⇒ Any): Unit
-
def
deleteTopic(curator: CuratorFramework, topic: String): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
error(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
error(msg: ⇒ Any): Unit
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
info(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
info(msg: ⇒ Any): Unit
-
def
isDebugEnabled: Boolean
-
def
isErrorEnabled: Boolean
-
def
isInfoEnabled: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isTraceEnabled: Boolean
-
def
isWarnEnabled: Boolean
-
def
logger: Logger
-
def
loggerName: String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
rand: Random
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
topicExists(curator: CuratorFramework, topic: String): Boolean
-
def
trace(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
trace(msg: ⇒ Any): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
warn(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
warn(msg: ⇒ Any): Unit
Inherited from Logging
Inherited from AnyRef
Inherited from Any
Borrowed from kafka 0.8.1.1, adapted to use curator framework https://git-wip-us.apache.org/repos/asf?p=kafka.git;a=blob;f=core/src/main/scala/kafka/admin/AdminUtils.scala