[ https://issues.apache.org/jira/browse/KAFKA-5808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Canes Kelly updated KAFKA-5808: ------------------------------- Description: When we create a topic in kafka, broker assigns replicas for partitions in this topic, and the First Replica will be the Preferred Replica which means that kafka cluster will migrate partition leader to Preferred Replica on the basis of ''imbalance rate''. Consider that with the increasing of the brokers, the partitions Preferred Replicas are always the one assigned when created those topic. So the load balancing is not scalable with the change of the scale of the brokers. So I would like to propose to modify the assignment of the Preferred Replica automatically when cluster expands with appropriate consideration of performance declining. was: When we create a topic in kafka, broker assigns replicas for partitions in this topic, and the First Replica will be the Preferred Replica which means that kafka cluster will migrate partition leader to Preferred Replica on the basis of ''imbalance rate''. Consider that with the increasing of the brokers, the partitions Preferred Replicas are always the one assigned when created those topic. So the load balancing is not scalable with the change of the scale of the brokers. So I would like to propose to modify the assignment of the Preferred Replica when brokers increase with appropriate consideration of performance declining. > The Preferred Replica should be global and dynamic > -------------------------------------------------- > > Key: KAFKA-5808 > URL: https://issues.apache.org/jira/browse/KAFKA-5808 > Project: Kafka > Issue Type: New Feature > Components: core > Affects Versions: 0.11.0.0 > Reporter: Canes Kelly > Fix For: 0.11.0.0 > > > When we create a topic in kafka, broker assigns replicas for partitions in > this topic, and the First Replica will be the Preferred Replica which means > that kafka cluster will migrate partition leader to Preferred Replica on the > basis of ''imbalance rate''. > Consider that with the increasing of the brokers, the partitions Preferred > Replicas are always the one assigned when created those topic. So the load > balancing is not scalable with the change of the scale of the brokers. > So I would like to propose to modify the assignment of the Preferred Replica > automatically when cluster expands with appropriate consideration of > performance declining. -- This message was sent by Atlassian JIRA (v6.4.14#64029)