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

Add JSON/CSV output and looping options to ConsumerGroupCommand

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 0.9.0.0
    • None
    • None

    Description

      Adds:

      • '--loop N' - causes the program to loop forever, sleeping for up to N seconds between loops (loop time minus collection time, unless that's less than 0, at which point it will just run again immediately)
      • '--asjson' - display as a JSON string instead of the more human readable output format.

      Neither of the above depend on each other (you can loop in the human readable output, or do a single shot execution with JSON output). Existing behavior/output maintained if neither of the above are used. Diff Attached.

      Impacted files:

      core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala

      Attachments

        1. KAFKA-313-2012032200.diff
          6 kB
          Dave DeMaagd
        2. KAFKA-313.patch
          12 kB
          Ashish Singh
        3. KAFKA-313.1.patch
          13 kB
          Ashish Singh
        4. KAFKA-313_2015-02-23_18:11:32.patch
          9 kB
          Ashish Singh
        5. KAFKA-313_2015-06-24_11:14:24.patch
          11 kB
          Ashish Singh
        6. KAFKA-313_2015-08-05_15:37:32.patch
          13 kB
          Ashish Singh
        7. KAFKA-313_2015-08-05_15:43:00.patch
          11 kB
          Ashish Singh
        8. KAFKA-313_2015-08-10_12:58:38.patch
          11 kB
          Ashish Singh
        9. KAFKA-313_2015-08-12_14:21:32.patch
          14 kB
          Ashish Singh
        There are no Sub-Tasks for this issue.

        Activity

          People

            singhashish Ashish Singh
            demaagd Dave DeMaagd
            Gwen Shapira Gwen Shapira
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: