Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip unsubscribed topic assignment #86

Merged
merged 7 commits into from Jul 3, 2018

Conversation

tulios
Copy link
Owner

@tulios tulios commented Jul 2, 2018

This PR makes the consumer skip any assignment for unsubscribed topics; it also prevents any high CPU busy loops due to the lack of requests. It partially fixes issue #83

This scenario in the consumer groups is super hard to simulate since you can't control which consumer will become the leader. I've manually setup the environment and confirmed that it works.

@tulios tulios requested a review from Nevon July 2, 2018 19:41
@Nevon Nevon merged commit 6f083c5 into master Jul 3, 2018
@Nevon Nevon deleted the consumer-with-unsubscribed-topic-assigment branch July 3, 2018 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants