Skip to content

fix: close admin client after describing broker config#93

Merged
joshiste merged 1 commit intomainfrom
fix/admin-client-connection-leak
Feb 19, 2026
Merged

fix: close admin client after describing broker config#93
joshiste merged 1 commit intomainfrom
fix/admin-client-connection-leak

Conversation

@joshiste
Copy link
Member

Summary

  • Fix connection leak in describeConfigStr and describeConfigStrWithConfig — admin clients were created but never closed
  • This caused connection refused errors in CI during the prepare phase of alter actions (limit connection creation rate, reduce max message bytes)

Test plan

  • Unit tests pass locally
  • E2E tests pass locally
  • CI audit job passes

@joshiste joshiste enabled auto-merge (squash) February 19, 2026 11:38
The describeConfigStr and describeConfigStrWithConfig functions created
Kafka admin clients without closing them, leaking connections. Under
constrained CI environments this caused connection refused errors during
the prepare phase of alter actions.
@joshiste joshiste force-pushed the fix/admin-client-connection-leak branch from 6ae68a1 to 3af6270 Compare February 19, 2026 16:37
@sonarqubecloud
Copy link

@joshiste joshiste merged commit 0b86d7e into main Feb 19, 2026
13 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant