Object

kafka.tools

ReplicaVerificationTool

Related Doc: package tools

Permalink

object ReplicaVerificationTool extends Logging

For verifying the consistency among replicas.

  1. start a fetcher on every broker. 2. each fetcher does the following 2.1 issues fetch request 2.2 puts the fetched result in a shared buffer 2.3 waits for all other fetchers to finish step 2.2 2.4 one of the fetchers verifies the consistency of fetched results among replicas

The consistency verification is up to the high watermark. The tool reports the max lag between the verified offset and the high watermark among all partitions.

If a broker goes down, the verification of the partitions on that broker is delayed until the broker is up again.

Caveats: 1. The tools needs all brokers to be up at startup time. 2. The tool doesn't handle out of range offsets.

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReplicaVerificationTool
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val clientId: String

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val dateFormat: SimpleDateFormat

    Permalink
  8. val dateFormatString: String

    Permalink
  9. def debug(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  10. def debug(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  11. def debug(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def error(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  15. def error(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  16. def error(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  17. def fatal(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  18. def fatal(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  19. def fatal(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getCurrentTimeString(): String

    Permalink
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def info(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  25. def info(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  26. def info(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. var logIdent: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. lazy val logger: Logger

    Permalink
    Definition Classes
    Logging
  30. val loggerName: String

    Permalink
    Definition Classes
    Logging
  31. def main(args: Array[String]): Unit

    Permalink
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def swallow(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  36. def swallowDebug(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  37. def swallowError(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  38. def swallowInfo(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  39. def swallowTrace(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  40. def swallowWarn(action: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Logging
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. def trace(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  44. def trace(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  45. def trace(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def warn(msg: ⇒ String, e: ⇒ Throwable): Unit

    Permalink
    Definition Classes
    Logging
  50. def warn(e: ⇒ Throwable): Any

    Permalink
    Definition Classes
    Logging
  51. def warn(msg: ⇒ String): Unit

    Permalink
    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped