Last active
January 25, 2018 03:57
-
-
Save krishnabhargav/b30acaf2b506dc7bf39cb1d869ee571e to your computer and use it in GitHub Desktop.
Kafka Thing
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
bin\windows\kafka-topics.bat --create --topic consumer-topic --partitions 3 --replication-factor 1 --zookeeper localhost | |
bin\windows\kafka-server-start.bat config\server.properties | |
bin\windows\zookeeper-server-start.bat config\zookeeper.properties | |
bin\windows\kafka-producer-perf-test.bat --topic joker-walmart-order-injection --payload-file "C:\\temp\\small.json" --num-records 200 --throughput 100 --producer-props acks=1 bootstrap.servers=localhost:9092 | |
bin\windows\kafka-consumer-groups.bat --bootstrap-server shared.kafka.eastus2.qa.jet.network:9092 --group mytopic-consumer-group --reset-offsets --to-earliest --topic mytopic --execute | |
bin\windows\kafka-console-consumer.bat --bootstrap-server shared.kafka.eastus2.qa.jet.network:9092 --group mytopic-consumer --topic mytopic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment