Right, and I presume AdminUtils didn’t catch up with that change yet or something.
Cheers Cos On Friday, 8 January 2016 at 17:09, Marko Bonaći wrote: > Hello again Cosmin :) > I think this is because offsets are kept in a special _consumer_offsets > topic, as opposed to ZK previously. > Take a look here: > http://search-hadoop.com/m/uyzND1T1i3BNkRFM1&subj=Re+Kafka+0+8+2+1+how+to+read+from+__consumer_offsets+topic+ > > Marko Bonaći > Monitoring | Alerting | Anomaly Detection | Centralized Log Management > Solr & Elasticsearch Support > Sematext <http://sematext.com/> | Contact > <http://sematext.com/about/contact.html> > > On Fri, Jan 8, 2016 at 4:07 PM, Cosmin Marginean <cosmargin...@gmail.com > (mailto:cosmargin...@gmail.com)> > wrote: > > > 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 > > > > >