oneby-wang commented on issue #24879: URL: https://github.com/apache/pulsar/issues/24879#issuecomment-3621504437
Hi, @darinspivey, recently, I re-read the creation code of `PulsarAdminImpl` in `PulsarService`. https://github.com/apache/pulsar/blob/9d8bf601749d465e2394a1a0db96bfe6b70d13a5/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java#L1813-L1823 The default value of `connectionsPerBroker` is 16. https://github.com/apache/pulsar/blob/1ca17972459095278e2b5f7ed7fd55c8921d8826/pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/PulsarAdminBuilderImpl.java#L48-L51 Our earlier discussions might have had some misleading points. Looks like you lowered the `connectionsPerBroker` parameter value to 15 and had a positive effect. May be number of broker owned topics and concurrent scenarios led us to a wrong conclusion. I wonder if your logs have been redacted and processed, which is why I am not seeing the complete set of logs. Otherwise, it does not make sense. Or I missed the code setting this parameter elsewhere. If our understanding doesn’t align, you could use a tool like Arthas to grab the actual value `connectionsPerBroker`. https://github.com/apache/pulsar/blob/9d8bf601749d465e2394a1a0db96bfe6b70d13a5/pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/http/AsyncHttpConnector.java#L194-L204 -- 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]
