Last active
January 7, 2020 12:59
-
-
Save cyberjso/17f298571b42eff939d10313e9081427 to your computer and use it in GitHub Desktop.
how to count number for messages on on given kafka topic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bin/kafka-run-class.sh kafka.tools.GetOffsetShell \ | |
--broker-list localhost:9092 | |
-topic topic-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment