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
It sounds really strange to me. I deployed a 3 Kafka brokers cluster and my __consumer_offsets
topic has 50 partitions (the default) split across the 3 brokers and having 3 (the default) as replicas.
What you are describing could happen when you start with a single Kafka broker, create consumers for reading topics so that the __consumer_offsets
is automatically created and it will be just on the broker 0 (the only one). After that, you add new Kafka brokers: without doing anything the __consumer_offsets
will still stay on broker 0; you need to use Kafka a manual partition reassignment for doing that as mentioned above.