kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cosmin Marginean <cosmargin...@gmail.com>
Subject Determine the number of consumers
Date Fri, 08 Jan 2016 15:07:16 GMT
Hi,  

Is there a reliable way to determine the number of consumers for a topic (or at least the
number of consumer groups).
I’m using Kafka 0.9.0.0 and both the ones below return empty sets

zkUtils.getAllConsumerGroupsForTopic(topic);

OR

zkUtils.getConsumerGroups();

Thanks in advance
Cos


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message