Skip to content

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
Contributor

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