Balance Topic partitions evenly on the cluster #2276
Replies: 1 comment
-
|
Just to clarify, are you asking if it's possible to configure Cruise Control to evenly distribute the leader partitions of a topic across all brokers? If so, yes, this can be accomplished using the Check out the
So when we set For example: Let me know if that helps! [1] https://github.com/linkedin/cruise-control/blob/main/cruise-control/src/main/java/com/linkedin/kafka/cruisecontrol/analyzer/goals/MinTopicLeadersPerBrokerGoal.java |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is it possible to configure cruise-control so it would distribute topic partitions evenly across the cluster instead of mixing all topic partitions and then distributing.
Example:
I have a topic of 12 partitions and a cluster of 6 brokers, I would like to configure cruise control to distribute 2 partitions on each node of the cluster.
Currently it decides and distributes 2 partitions from topic1, 5 partitions from topic2 and 8 partitions of topic3. Overall number of partitions per broker looks evenly spread, but it's not what I'm looking at.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions