kafka.tools

StateChangeLogMerger

object StateChangeLogMerger extends Logging

A utility that merges the state change logs (possibly obtained from different brokers and over multiple days).

This utility expects at least one of the following two arguments - 1. A list of state change log files 2. A regex to specify state change log file names.

This utility optionally also accepts the following arguments - 1. The topic whose state change logs should be merged 2. A list of partitions whose state change logs should be merged (can be specified only when the topic argument is explicitly specified) 3. Start time from when the logs should be merged 4. End time until when the logs should be merged

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StateChangeLogMerger
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class LineIterator extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. implicit object dateBasedOrdering extends Ordering[LineIterator]

  9. val dateFormat: SimpleDateFormat

  10. val dateFormatString: String

  11. val dateRegex: Regex

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

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

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

    Definition Classes
    Logging
  15. var endDate: Date

  16. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Definition Classes
    Logging
  24. var files: List[String]

  25. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  27. def getNextLine(itr: Iterator[String]): LineIterator

    Returns the next line that matches the specified topic/partitions from the file that has the earliest date from the specified date range.

    Returns the next line that matches the specified topic/partitions from the file that has the earliest date from the specified date range.

    itr

    Line iterator of a file

    returns

    (line from a file, line iterator for the same file)

  28. def hashCode(): Int

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

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

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

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

    Definition Classes
    Any
  33. var logIdent: String

    Attributes
    protected
    Definition Classes
    Logging
  34. lazy val logger: Logger

    Definition Classes
    Logging
  35. val loggerName: String

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

  37. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. var partitions: List[Int]

  41. var startDate: Date

  42. def swallow(action: ⇒ Unit): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. var topic: String

  51. val topicPartitionRegex: Regex

  52. def trace(msg: ⇒ String, e: ⇒ Throwable): Unit

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

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

    Definition Classes
    Logging
  55. final def wait(): Unit

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

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

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

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

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

    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped