title: Kafka consumer list
body: <p>I need to find out a way to ask Kafka for a list of topics. I know I can do that using the <code>kafka-topics.sh</code> script included in the <code>bin\</code> directory. Once I have this list, I need all the consumers per topic. I could not find a script in that directory, nor a class in the <code>kafka-consumer-api</code> library that allows me to do it.</p>
  
  <p>The reason behind this is that I need to figure out the difference between the topic's offset and the consumers' offsets.</p>
  
  <p>Is there a way to achieve this? Or do I need to implement this functionality in each of my consumers?</p>