Kafka consumer list -


i need find out way ask kafka list of topics. know can using kafka-topics.sh script included in bin\ directory. once have list, need consumers per topic. not find script in directory, nor class in kafka-consumer-api library allows me it.

the reason behind need figure out difference between topic's offset , consumers' offsets.

is there way achieve this? or need implement functionality in each of consumers?

kafka stores information in zookeeper. can see topic related information under brokers->topics. if wish topics programmatically can using zookeeper api.

it explained in detail in below links tutorialspoint, zookeeper programmer guide


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -