I have a 3 zk nodes cluster. And 7 kafka broker nodes.
So when I create any topic then I can set replica factor and no of partitions us
You need to set the "offsets.topic.replication.factor
" to the desired number of replicas in the broker config.
offsets.topic.replication.factor
- "The replication factor for the offsets topic (set higher to ensure availability). Internal topic creation will fail until the cluster size meets this replication factor requirement."
Reference - http://kafka.apache.org/documentation/#brokerconfigs