lhotari opened a new issue, #22041: URL: https://github.com/apache/pulsar/issues/22041
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation The Pulsar Admin client doesn't current use connection pooling. It will open a new TCP/IP connection for each call. This isn't very efficient. ### Solution The AsyncHttpClient used in pulsar-admin-client should be configured for connection pooling by default. This could happen somewhere here: https://github.com/apache/pulsar/blob/e3debb9ad867cb9b977e8bb1b21aab66387b3c5d/pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/http/AsyncHttpConnector.java#L99-L108 `setMaxConnections`, `setMaxConnectionsPerHost` and `setPooledConnectionIdleTimeout` would have to be configured. ### Alternatives _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
