Skip to content

Instantly share code, notes, and snippets.

@gmyrianthous
Last active March 5, 2021 21:05
Show Gist options
  • Save gmyrianthous/210419681afcd9ee92662d1ca42ff3e0 to your computer and use it in GitHub Desktop.
Save gmyrianthous/210419681afcd9ee92662d1ca42ff3e0 to your computer and use it in GitHub Desktop.
kafka-console-consumer-top-n-messages
bin/kafka-console-consumer.sh \
--bootstrap-server localhost:9092 \
--topic testTopic \
--from-beginning \
--max-messages 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment