0

Do we need to have Kafka Consumer to get total count of offsets available in a particular Kafka Topic?

If not then can we use Kafka admin client to fetch the details for a particular Topic?

SRJ
  • 2,092
  • 3
  • 17
  • 36
  • Do you want to get offsets using command line interface or via programmatic way(for e.g. using java) ? – SRJ Mar 17 '21 at 07:40
  • Does this answer your question? [Java, How to get number of messages in a topic in apache kafka](https://stackoverflow.com/questions/28579948/java-how-to-get-number-of-messages-in-a-topic-in-apache-kafka) – Michael Heil Mar 17 '21 at 08:02

0 Answers0