Kafka
  1. Kafka
  2. KAFKA-313

Add JSON/CSV output and looping options to ConsumerGroupCommand

    Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.8.3
    • Component/s: None
    • Labels:

      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

      1. KAFKA-313-2012032200.diff
        6 kB
        Dave DeMaagd
      2. KAFKA-313.patch
        12 kB
        Ashish K Singh
      3. KAFKA-313.1.patch
        13 kB
        Ashish K Singh
      4. KAFKA-313_2015-02-23_18:11:32.patch
        9 kB
        Ashish K Singh
      5. KAFKA-313_2015-06-24_11:14:24.patch
        11 kB
        Ashish K Singh

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ashish K Singh
            Reporter:
            Dave DeMaagd
            Reviewer:
            Gwen Shapira
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:

              Development