Skip to content

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

@lhotari lhotari force-pushed the lh-close-namespace-clients branch from 2eeda6a to a555d12 Compare April 15, 2021 07:56
@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.

5 participants