Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement