You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2025/03/12 11:19:00 UTC

[jira] [Created] (KAFKA-18964) Allow to set weights for controller nodes for leader election

Luke Chen created KAFKA-18964:
---------------------------------

             Summary: Allow to set weights for controller nodes for leader election
                 Key: KAFKA-18964
                 URL: https://issues.apache.org/jira/browse/KAFKA-18964
             Project: Kafka
          Issue Type: Improvement
            Reporter: Luke Chen


In the stretch cluster environment, the nodes are located in different data center for disaster recovery. So the backup cluster controller nodes should be served as the follower. Only when the disaster happened, the controller nodes in backup cluster need to be elected as leader. In our current design, the candidate node is randomly chosen. We can consider to apply the "weight" to the controller nodes to achieve the situation mentioned above.



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