Luke Chen created KAFKA-21250:
---------------------------------

             Summary: KRaft Controller Election Preference Mechanism
                 Key: KAFKA-21250
                 URL: https://issues.apache.org/jira/browse/KAFKA-21250
             Project: Kafka
          Issue Type: Improvement
            Reporter: Luke Chen


In Zookeeper, there is a Hierarchical Quorums mechanism to allow to set some 
nodes to have groups/weights to have higher possibility to be elected as the 
leader.

[https://zookeeper.apache.org/doc/r3.9.4/zookeeperInternals.html#sc_quorum]

[https://zookeeper.apache.org/doc/r3.9.4/zookeeperHierarchicalQuorums.html]

 

The use case is that when there are 3 data center: 

Datacenter A: 2 controllers
Datacenter B: 2 controllers
Datacenter C: 1 controller

 

We hope that we form a quorum with either datacenter AC or BC, not AB. 

We hope this feature can be implemented in KRaft quorum, too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to