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

Get a list of consumer groups

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.1.1
    • 0.9.0.0
    • tools

    Description

      It would be useful to have a way to get a list of consumer groups currently active via some tool/script that ships with kafka. This would be helpful so that the system tools can be explored more easily.

      For example, when running the ConsumerOffsetChecker, it requires a group option

      bin/kafka-run-class.sh kafka.tools.ConsumerOffsetChecker --topic test --group ?

      But, when just getting started with kafka, using the console producer and consumer, it is not clear what value to use for the group option. If a list of consumer groups could be listed, then it would be clear what value to use.

      Background:
      http://mail-archives.apache.org/mod_mbox/kafka-users/201405.mbox/%3cCAOq_b1w=SLZe5jRNAkxvaK0Gu9cTDKPaZaK1G4DygVqZbSgUyg@mail.gmail.com%3e

      Attachments

        1. KAFKA-1476.patch
          3 kB
          BalajiSeshadri
        2. KAFKA-1476-RENAME.patch
          8 kB
          BalajiSeshadri
        3. KAFKA-1476-LIST-GROUPS.patch
          3 kB
          BalajiSeshadri
        4. ConsumerCommand.scala
          8 kB
          BalajiSeshadri
        5. KAFKA-1476-REVIEW-COMMENTS.patch
          10 kB
          BalajiSeshadri
        6. KAFKA-1476.patch
          12 kB
          BalajiSeshadri
        7. KAFKA-1476.patch
          10 kB
          BalajiSeshadri
        8. KAFKA-1476_2014-11-10_11:58:26.patch
          20 kB
          BalajiSeshadri
        9. KAFKA-1476_2014-11-10_12:04:01.patch
          9 kB
          BalajiSeshadri
        10. KAFKA-1476_2014-11-10_12:06:35.patch
          10 kB
          BalajiSeshadri
        11. KAFKA-1476_2014-12-05_12:00:12.patch
          12 kB
          BalajiSeshadri
        12. KAFKA-1476.patch
          27 kB
          Onur Karaman
        13. KAFKA-1476_2015-01-12_16:22:26.patch
          28 kB
          Onur Karaman
        14. KAFKA-1476_2015-01-12_16:31:20.patch
          28 kB
          Onur Karaman
        15. KAFKA-1476_2015-01-13_10:36:18.patch
          28 kB
          Onur Karaman
        16. KAFKA-1476_2015-01-15_14:30:04.patch
          33 kB
          Onur Karaman
        17. sample-kafka-consumer-groups-sh-output.txt
          36 kB
          Onur Karaman
        18. KAFKA-1476_2015-01-22_02:32:52.patch
          33 kB
          Onur Karaman
        19. sample-kafka-consumer-groups-sh-output-1-23-2015.txt
          15 kB
          Onur Karaman
        20. KAFKA-1476_2015-01-30_11:09:59.patch
          35 kB
          Onur Karaman
        21. KAFKA-1476_2015-02-04_15:41:50.patch
          43 kB
          Onur Karaman
        22. KAFKA-1476_2015-02-04_18:03:15.patch
          43 kB
          Onur Karaman
        23. KAFKA-1476_2015-02-05_03:01:09.patch
          43 kB
          Onur Karaman
        24. sample-kafka-consumer-groups-sh-output-2-5-2015.txt
          27 kB
          Onur Karaman
        25. KAFKA-1476_2015-02-09_14:37:30.patch
          43 kB
          Onur Karaman
        26. sample-kafka-consumer-groups-sh-output-2-9-2015.txt
          25 kB
          Onur Karaman

        Issue Links

          Activity

            People

              onurkaraman Onur Karaman
              ryanwi Ryan Williams
              Neha Narkhede Neha Narkhede
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: