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

fix(consumer): don't retry FindCoordinator forever #2427

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

dnwe
Copy link
Collaborator

@dnwe dnwe commented Jan 25, 2023

If the consumer group hit an error finding the coordinator whilst setting up a session it would end up retrying forever because the retry count didn't get decremented and there was no exit of the loop. Fix that up and add a unittest to cover the scenario

Fixes #2426

If the consumer group hit an error finding the coordinator whilst
setting up a session it would end up retrying forever because the retry
count didn't get decremented and there was no exit of the loop. Fix that
up and add a unittest to cover the scenario

Fixes #2426
@dnwe dnwe added the fix label Jan 25, 2023
@dnwe dnwe merged commit 66e60c7 into main Jan 25, 2023
@dnwe dnwe deleted the dnwe/do-not-retry-forever branch January 25, 2023 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Infinity loop in Consume() method
1 participant