Last active
March 31, 2018 18:06
-
-
Save jnbdz/1175ddb29a42cb38cb2f29a75b055ddf to your computer and use it in GitHub Desktop.
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
/usr/local/kafka/bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test | |
Test Message 1 | |
Test Message 2 | |
# ^D | |
# Test | |
/usr/local/kafka/bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic test --from-beginning | |
# Test Message 1 | |
# Test Message 2 | |
# ^C | |
# Consumed 2 messages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment