Skip to content

Instantly share code, notes, and snippets.

@thiagoaag
Created November 8, 2017 17:43
Show Gist options
  • Save thiagoaag/f36cc22739ba34f89f274c1e86631316 to your computer and use it in GitHub Desktop.
Save thiagoaag/f36cc22739ba34f89f274c1e86631316 to your computer and use it in GitHub Desktop.
kafka_command_line_tests
# producer
bin/kafka-console-producer.sh --broker-list localhost:9092 --topic [topic name] --property "parse.key=true" --property "key.separator=:"
# consumer
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic [topic name] --from-beginning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment