< Back
 

# Packages

-  package root
  Definition Classes
    root
-  package kafka
  Definition Classes
    root
-  package manager

  Definition Classes
    kafka
-  package utils

  Definition Classes
    manager
-  package logkafka81
  Definition Classes
    utils
-  package logkafka82
  Definition Classes
    utils
-  package one10
  Definition Classes
    utils
-  package two00
  Definition Classes
    utils
-  package zero10
  Definition Classes
    utils
-  package zero11
  Definition Classes
    utils
-  package zero81
  Definition Classes
    utils
-  package zero82
  Definition Classes
    utils
-  package zero90
  Definition Classes
    utils
- AdminUtils
- FiniteQueue
- Logkafka
- LogkafkaAdminUtils
- LogkafkaErrors
- LogkafkaNewConfigs
- LogkafkaZkUtils
- LongFormatted
- Topic
- TopicConfigs
- TopicErrors
- UtilError
- UtilException
- ZkUtils
- repeatWithIndex

o

kafka.manager.utils

# ZkUtils 

###

#### object ZkUtils

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/utils/ZkUtils.scala

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. ZkUtils
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  val AdminPath: String
5.  val BrokerIdsPath: String
6.  val BrokerTopicsPath: String
7.  val ConsumersPath: String
8.  val ControllerEpochPath: String
9.  val ControllerPath: String
10.  val DeleteTopicsPath: String
11.  val PreferredReplicaLeaderElectionPath: String
12.  val ReassignPartitionsPath: String
13.  val TopicConfigChangesPath: String
14.  val TopicConfigPath: String
15.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
16.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )
17.  def createPersistentPath(curator: CuratorFramework, path: String, data: Array[Byte]): Unit

    Create a persistent node with the given path and data.

    Create a persistent node with the given path and data. Create parents if necessary.

18.  def createPersistentPath(curator: CuratorFramework, path: String): Unit
19.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
21.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
22.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
23.  def getDeleteTopicPath(topic: String): String
24.  def getPartitionReassignmentZkData(partitionsToBeReassigned: Map[TopicAndPartition, Seq[Int]]): String
25.  def getTopicConfigPath(topic: String): String
26.  def getTopicPartitionsPath(topic: String): String
27.  def getTopicPath(topic: String): String
28.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
29.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
30.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
31.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
32.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
33.  def readData(curator: CuratorFramework, path: String): (String, Stat)
34.  def readDataMaybeNull(curator: CuratorFramework, path: String): (Option[String], Stat)
35.  def replicaAssignmentZkData(map: Map[String, Seq[Int]]): String

    Get JSON partition to replica map from zookeeper.

36.  implicit def serializeString(str: String): Array[Byte]
37.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
38.  def toString(): String
    Definition Classes
      AnyRef → Any
39.  def updatePersistentPath(curator: CuratorFramework, path: String, ba: Array[Byte], version: Int = -1): Any

    Update the value of a persistent node with the given path and data.

    Update the value of a persistent node with the given path and data. create parent directory if necessary. Never throw NodeExistException. Return the updated path zkVersion

40.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
41.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
42.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped