Created
February 19, 2019 16:40
-
-
Save flinox/9fdfeffb348af6a9e38e551e67127888 to your computer and use it in GitHub Desktop.
Kafka: To create a topic kafka
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
# partitions, how many files to store messages of topics | |
# replication-factor, how many copies of topics must store ( Ex.: number of nodes ) | |
kafka-topics --zookeeper <zookeeper>:2181 --create --topic <topic-name> --partitions 3 --replication-factor 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment