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

Issue #1780 - Consumer hang indefinitely in fetcher._retrieve_offsets() due to topic deletion while rebalancing #1782

Merged
merged 2 commits into from
Sep 30, 2019

Conversation

royantman
Copy link
Contributor

@royantman royantman commented Apr 8, 2019

Detailed scenario in #1780 .

The scenario can also trigger another edge case I bumped into while testing which is
ValueError exception from subscription_state.assign_from_subscribed()

This PR also handles this case by catching the exception and requesting a rejoin.


This change is Reviewable

@jeffwidman
Copy link
Collaborator

nudge @dpkp can you take a look?

@dpkp
Copy link
Owner

dpkp commented Sep 30, 2019

Apologies for not merging this sooner. I'm going to include this PR in 1.4.7.

Please note that w/o test coverage, we may end up breaking this functionality in a later release! This section of the codebase (retrieving offsets) has been refactored upstream, and I suspect we may migrate in that direction at some point.

@dpkp dpkp merged commit 298cb0d into dpkp:master Sep 30, 2019
@royantman
Copy link
Contributor Author

thanks @dpkp, as mentioned in the original issue, I will get into looking at the refactor to match Java client 2.x eventually. Just got my hands full atm.

Cheers.

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.

3 participants