Skip to content

Instantly share code, notes, and snippets.

@ivanursul
Created April 10, 2017 08:37
Show Gist options
  • Save ivanursul/366689aed57ee9d861846dcf4ccdae7c to your computer and use it in GitHub Desktop.
Save ivanursul/366689aed57ee9d861846dcf4ccdae7c to your computer and use it in GitHub Desktop.
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --from-beginning \
--topic WordsWithCountsTopic2 \
--formatter kafka.tools.DefaultMessageFormatter \
--property print.key=true \
--property key.deserializer=org.apache.kafka.common.serialization.StringDeserializer \
--property value.deserializer=org.apache.kafka.common.serialization.StringDeserializer
null Ivan Baraban
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment