[ 
https://issues.apache.org/jira/browse/KAFKA-18964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17934503#comment-17934503
 ] 

Luke Chen commented on KAFKA-18964:
-----------------------------------

Yes, this needs a KIP, and need some discussion about what are the good 
solutions for it. Thanks [~frankvicky] .

> 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
>
> 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)

Reply via email to