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: KIP-368 use receiver goroutine to process all sasl v1 responses #2234

Merged
merged 4 commits into from
May 30, 2022

Conversation

k-wall
Copy link
Contributor

@k-wall k-wall commented May 23, 2022

Fixes defect (#2233) in kip-368 implementation where existing incoming wire traffic would get confused with re-authentication traffic leading to unexpected disconnects and OOM errors.

The approach taken uses the existing receiver routine to process all SASL v1+ responses for both authentication and re-authentication. For SASL v0, the existing behaviour is maintained.

fixes defect in kip-368 implementation where existing incoming wire traffic would get confused with re-authentication traffic
leading to unexpected disconnects and OOM errors.
@ppatierno
Copy link

ppatierno commented May 26, 2022

@dnwe do you think is it possible to review and get this fix merged soon? The issue makes the re-auth feature not usable.
Our next Strimzi canary release 0.3.0 was heavily based on this feature but now we are blocked waiting for the fix.
Any chance to have a Sarama patched release 1.33.1 out?

@dnwe dnwe added the fix label May 30, 2022
Copy link
Collaborator

@dnwe dnwe left a comment

Choose a reason for hiding this comment

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

LGTM

@dnwe dnwe changed the title fix: #2233 use receiver goroutine to process all sasl v1 responses fix: use receiver goroutine to process all sasl v1 responses May 30, 2022
@dnwe dnwe merged commit 8e58c77 into IBM:main May 30, 2022
@dnwe dnwe changed the title fix: use receiver goroutine to process all sasl v1 responses fix: KIP-368 use receiver goroutine to process all sasl v1 responses May 30, 2022
@dnwe
Copy link
Collaborator

dnwe commented May 30, 2022

@ppatierno no problem, I actually pushed it out as Version 1.34.0 because I wanted to include the KIP-345 (static membership) support to allow people to test that too

@k-wall k-wall deleted the fix-2233 branch May 30, 2022 13:23
@ppatierno
Copy link

@dnwe thank you very much!

docmerlin added a commit to influxdata/kapacitor that referenced this pull request May 31, 2022
docmerlin added a commit to influxdata/kapacitor that referenced this pull request May 31, 2022
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.

3 participants