Object

kafka.tools

StateChangeLogMerger

Related Doc: package tools

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. class LineIterator extends AnyRef

    Permalink

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. def clone(): AnyRef

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

    Permalink
  7. val dateFormat: SimpleDateFormat

    Permalink
  8. val dateFormatString: String

    Permalink
  9. val dateRegex: Regex

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

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

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

    Permalink
    Definition Classes
    Logging
  13. var endDate: Date

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  22. var files: List[String]

    Permalink
  23. def finalize(): Unit

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

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

    Permalink

    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)

  26. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    Any
  31. var logIdent: String

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

    Permalink
    Definition Classes
    Logging
  33. val loggerName: String

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  38. var partitions: List[Int]

    Permalink
  39. var startDate: Date

    Permalink
  40. def swallow(action: ⇒ Unit): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  48. var topic: String

    Permalink
  49. val topicPartitionRegex: Regex

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped