Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. # partitions, how many files to store messages of topics
  2. # replication-factor, how many copies of topics must store ( Ex.: number of nodes )
  3. kafka-topics --zookeeper <zookeeper>:2181 --create --topic <topic-name> --partitions 3 --replication-factor 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement