lhotari opened a new pull request #13839:
URL: https://github.com/apache/pulsar/pull/13839


   ### Motivation
   
   - currently each broker client and geo-replication client will create a 
single-threaded internal/IO executor and an external/listener executer for each 
PulsarClientImpl instance. In addition there will be a separate Timer thread. 
   - Instead of adding individual thread pools, it would be more efficient to 
share an executor and make the number of threads configurable. 
   
   ### Modifications
   
   - add configuration key `brokerClientNumIOThreads` which defaults to 2 * 
number of available processors
   - create shared executors and timer at broker startup 
   - reuse executors and timer for the broker client and the geo-replication 
clients.


-- 
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]


Reply via email to