Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

extra consumers #555

Merged
merged 7 commits into from
May 25, 2016
Merged

extra consumers #555

merged 7 commits into from
May 25, 2016

Conversation

emmettbutler
Copy link
Contributor

This pull request fixes #527 by removing the upper limit on the number of consumers in a group. It also adds some tests to ensure that messages are not duplicated across a consumer group when there are more consumers than partitions.

@emmettbutler
Copy link
Contributor Author

The new test is still a bit unstable, I'll have to have another look.

@@ -170,6 +170,55 @@ def get_balanced_consumer(self, consumer_group, **kwargs):
**kwargs
)

def test_extra_consumer(self):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @vitalyli this is what the test ended up looking like.

@emmettbutler emmettbutler merged commit 57d2ab7 into master May 25, 2016
@emmettbutler emmettbutler deleted the enhancement/extra_consumers branch May 25, 2016 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow more BalancedConsumers than partitions on a topic
1 participant