You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Grant Henke <gh...@cloudera.com> on 2015/05/21 18:21:34 UTC

Find all consumer groups without Zookeeper

It doesn't look like there is a way to get all consumer groups via the wire
protocol/api. I can go to zookeeper and list all the children at
'/consumers' but would like to use zookeeper as minimally as possible.
Would this be a good feature to add the the ConsumerMetadataRequest? Am I
missing/misusing something here?

My initial thought was modeling it to parody the TopicMetadataRequest.
Where it takes a list of consumer groups, and if you leave it empty it will
return metadata for all. I would find this functionality useful for
monitoring/reporting tools and to be sure I am creating a new consumer
group instead of joining an existing one.

Note: I just made Jira KAFKA-2216
<https://issues.apache.org/jira/browse/KAFKA-2216>, which is somewhat
related to this discussion.

Thank you,
Grant

-- 
Grant Henke
Solutions Consultant | Cloudera
ghenke@cloudera.com | twitter.com/ghenke <http://twitter.com/gchenke> |
linkedin.com/in/granthenke