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

[Broker] Close namespace clients when PulsarService is closed #10196

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Apr 12, 2021

Motivation

The broker leaks some PulsarClient instances since the PulsarClient instances created in NamespaceService don't get closed.

Modifications

Add handling for closing PulsarClient instances created in NamespaceService. A similar logic for closing is used as there is currently for closing the PulsarClients of replication clients.

@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label Apr 12, 2021
@merlimat merlimat added this to the 2.8.0 milestone Apr 12, 2021
Copy link
Contributor

@315157973 315157973 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM

@eolivelli eolivelli merged commit fad2bcd into apache:master Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants