You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Balaji Seshadri (JIRA)" <ji...@apache.org> on 2014/07/24 18:50:40 UTC

[jira] [Comment Edited] (KAFKA-1476) Get a list of consumer groups

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

Balaji Seshadri edited comment on KAFKA-1476 at 7/24/14 4:50 PM:
-----------------------------------------------------------------

Hi  [~nehanarkhede],

Looks like we are in design mode before going into implementation.Removing offset checker and making ConsumerCommand for handling all management related to consumers is definitely good idea.

This would add below tasks

1) --list -> will list all consumer groups

2) --describeGroup <group name> -> describes about this group,who are all the consumers of the group whats the lag on it.

3) --resetOffset <offsetNumber> --group  --groupName -> this might reset the offset.

This would be good list to add as usage would be easy.Also it would be better expose these as management API's instead of just main program,so anybody can build UI on top it.
I added the list all already for remaining ones i need more inputs on where can i get the data.

Please advise.






was (Author: balaji.seshadri):
Hi  [~neha.narkhede@gmail.com],

Looks like we are in design mode before going into implementation.Removing offset checker and making ConsumerCommand for handling all management related to consumers is definitely good idea.

This would add below tasks

1) --list -> will list all consumer groups

2) --describeGroup <group name> -> describes about this group,who are all the consumers of the group whats the lag on it.

3) --resetOffset <offsetNumber> --group  --groupName -> this might reset the offset.

This would be good list to add as usage would be easy.Also it would be better expose these as management API's instead of just main program,so anybody can build UI on top it.
I added the list all already for remaining ones i need more inputs on where can i get the data.

Please advise.





> 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=SLZe5jRNAkxvaK0Gu9cTDKPaZaK1G4DygVqZbSgUyg@mail.gmail.com%3e



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