lhotari opened a new pull request #10196: URL: https://github.com/apache/pulsar/pull/10196
### 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](https://github.com/apache/pulsar/blob/5fcd0d18f8b33474fd8fb5faa3e2330fd88c554a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java#L680-L686). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
