lhotari commented on code in PR #22541:
URL: https://github.com/apache/pulsar/pull/22541#discussion_r1574216061


##########
pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/PulsarAdminBuilderImpl.java:
##########
@@ -47,6 +47,7 @@ public PulsarAdmin build() throws PulsarClientException {
 
     public PulsarAdminBuilderImpl() {
         this.conf = new ClientConfigurationData();
+        this.conf.setConnectionsPerBroker(16);

Review Comment:
   > Couldn't the default be part of `ClientConfigurationData` constructor?
   
   Not really. ClientConfigurationData is designed for PulsarClient, but it's 
also used in PulsarAdmin client. The current PulsarAdminBuilderImpl is a bit of 
a hack around ClientConfigurationData.



-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to