Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-735

Add looping and JSON output for ConsumerOffsetChecker

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 0.8.0
    • None
    • tools

    Description

      New options for kafka.tools.ConsumerOffsetChecker:
      --asjson - Json Output
      --loop N - Loop interval (in seconds, greater than 0)

      Both are optional/independent:

      --asjson w/o --loop => Output as JSON, once and terminates
      --loop w/o --asjson => Output in default tabular format, repeats on loop defined interval
      --loop w/ --asjson => Output as JSON, repeats on loop defined interval
      neither --asjson nor --loop => Current behavior, output in tabular format once and terminates

      Patch to be attached.

      Attachments

        1. KAFKA-735.patch
          8 kB
          Dave DeMaagd
        2. KAFKA-735-2.patch
          9 kB
          Dave DeMaagd

        Activity

          People

            Unassigned Unassigned
            demaagd Dave DeMaagd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: