Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created July 25, 2022 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/b3637eff08656163c37977e1045ebb73 to your computer and use it in GitHub Desktop.
Save garystafford/b3637eff08656163c37977e1045ebb73 to your computer and use it in GitHub Desktop.
bin/kafka-console-consumer.sh \
--topic topicB \
--from-beginning --max-messages 10 \
--property print.value=true \
--property print.offset=true \
--property print.partition=true \
--property print.timestamp=true \
--bootstrap-server $BOOTSTRAP_SERVERS \
--consumer.config config/client.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment