[ 
https://issues.apache.org/jira/browse/KAFKA-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070630#comment-14070630
 ] 

Neha Narkhede commented on KAFKA-1476:
--------------------------------------

Thanks for the updated patch [~balaji.sesha...@dish.com]. I have the same 
review suggestions I had earlier - The tool should have 2 high level options 
--groups and --offsets. If the user specifies --groups, 2 more options should 
get activated 
1) --list will list all groups and 
2) --describe --group <group-name> will describe the group members. 

Similarly, if the user specifies --offsets, 2 options should get activated
3) --describe --group <group_name> will list the offsets for the group.
4) --reset which will change the offsets for the consumer group. However, this 
option is more relevant after we have the new consumer. 

For the purposes of this patch, it will be good to have #1, #2 and #3 as 
described above. The patch can also thus get rid of ConsumerOffsetChecker. What 
are your thoughts? Maybe there is another way to model this that I may be 
missing, my suggestions are mainly based on the topics tool which works pretty 
well.

> Get a list of consumer groups
> -----------------------------
>
>                 Key: KAFKA-1476
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1476
>             Project: Kafka
>          Issue Type: Wish
>          Components: tools
>    Affects Versions: 0.8.1.1
>            Reporter: Ryan Williams
>            Assignee: BalajiSeshadri
>              Labels: newbie
>             Fix For: 0.9.0
>
>         Attachments: KAFKA-1476-RENAME.patch, KAFKA-1476.patch
>
>
> 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=slze5jrnakxvak0gu9ctdkpazak1g4dygvqzbsg...@mail.gmail.com%3e



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to