Why __consumer_offsets topic in kafka is not spreading to all the brokers?

后端 未结 3 1812
野性不改
野性不改 2021-02-09 22:07

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

3条回答
  •  失恋的感觉
    2021-02-09 22:58

    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

提交回复
热议问题