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

[v23.2.x] kafka/client: Stop the broker if do_authenticate failed #15436

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #15414
Fixes: #15435,

If an exception is thrown from do_authenticate, then stop the broker
before it goes out of scope so that resources such as the connection
can be cleaned up.

Fixes redpanda-data#15118

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 84cf042)
@vbotbuildovich vbotbuildovich added this to the v23.2.x-next milestone Dec 13, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Dec 13, 2023
@BenPope BenPope marked this pull request as ready for review December 13, 2023 15:50
@BenPope BenPope merged commit 51a4564 into redpanda-data:v23.2.x Dec 13, 2023
24 checks passed
@BenPope BenPope self-assigned this Dec 13, 2023
@piyushredpanda piyushredpanda modified the milestones: v23.2.x-next, v23.2.19 Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants