0

We are using Apache kafka with Datatorrent to process messages. Is there a way to check no of messages in kafka topic from shell command line?

Thanks

Jaspal Singh
  • 73
  • 1
  • 2
  • 6
  • 1
    possible duplicate o f http://stackoverflow.com/questions/28579948/java-how-to-get-number-of-messages-in-a-topic-in-apache-kafka – Shankar Oct 13 '16 at 17:17
  • 1
    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) – Christophe Quintard Dec 14 '20 at 14:06

1 Answers1

2

There is a tool to get offset from a topic.

See this: SystemTools-GetOffsetShell

geunho
  • 81
  • 4