Last active
June 22, 2021 03:14
-
-
Save vikasbajaj/01a8fd9b63b5f21cf66921aa8d4655d3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
zookeeper-server-start.sh config/zookeeper.properties | |
kafka-server-start.sh config/server.properties | |
kafka-topics.sh --bootstrap-server localhost:9092 --list | |
kafka-topics.sh --bootstrap-server localhost:9092 --topic test-topic --create --partitions 3 --replication-factor 1 | |
kafka-topics.sh --bootstrap-server localhost:9092 --topic test-topic --describe | |
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test-topic --from-beginning --group group-1 | |
kafka-console-producer.sh --bootstrap-server localhost:9092 --topic test-topic | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment