lhotari commented on PR #22541:
URL: https://github.com/apache/pulsar/pull/22541#issuecomment-2070268832

   the `setMaxConnectionsPerHost` in async http client doesn't seem to behave 
as expected. Will check the errors
   ```
     Caused by: java.util.concurrent.CompletionException: 
org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector$RetryException: 
Could not complete the operation. Number of retries has been exhausted. Failed 
reason: Too many connections: 16
        at 
java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332)
        at 
java.base/java.util.concurrent.CompletableFuture.uniApplyNow(CompletableFuture.java:674)
        at 
java.base/java.util.concurrent.CompletableFuture.orApplyStage(CompletableFuture.java:1601)
        at 
java.base/java.util.concurrent.CompletableFuture.applyToEither(CompletableFuture.java:2261)
        at 
org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.retryOrTimeOut(AsyncHttpConnector.java:275)
        at 
org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.apply(AsyncHttpConnector.java:234)
   ```


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