[ https://issues.apache.org/jira/browse/KAFKA-10368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hanmingze updated KAFKA-10368: ------------------------------ Priority: Major (was: Minor) > Rack aware assignment results not balanced > ------------------------------------------ > > Key: KAFKA-10368 > URL: https://issues.apache.org/jira/browse/KAFKA-10368 > Project: Kafka > Issue Type: Improvement > Components: admin > Affects Versions: 0.11.0.0, 1.1.0, 1.1.1, 2.4.0 > Reporter: hanmingze > Priority: Major > > When the number of broker in two rack is inconsistent, the assignment results > is not balanced in the broker within a rack。 > > Example: > 1000 topic, 10 partitions per topic, 2 replica prt partition > 5 nodes, distributed in two rack(3+2) > > broker.id=1 rack=idc-a > broker.id=2 rack=idc-a > broker.id=3 rack=idc-a > broker.id=4 rack=idc-b > broker.id=5 rack=idc-b > > Assignment result: > broker.id | replica number > 1 | 2000 > 2 | 4000 > 3 | 4000 > 4 | 5000 > 5 | 5000 > -- This message was sent by Atlassian Jira (v8.3.4#803005)