forked from bsm/sarama-cluster
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Round-robin partition assignments across multiple topics
This is closer to the behavior of Kafka's Java consumer, as described here: https://github.com/apache/kafka/blob/15bc405/clients/src/main/java/org/apache/kafka/clients/consumer/RoundRobinAssignor.java#L31-L55 This is valuable in situations where you have highly disparate partition counts. Given three group members subscribed to many topics, only a few of which have more than one partition, the first member will receive far more assignments than the others.
- Loading branch information
Showing
2 changed files
with
308 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.