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

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

     [ https://issues.apache.org/jira/browse/KAFKA-18964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

TengYao Chi updated KAFKA-18964:
--------------------------------
    Labels: needs-kip  (was: )

> 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
>            Assignee: TengYao Chi
>            Priority: Major
>              Labels: needs-kip
>
> 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)