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

   ### Motivation
   
   - Calling `new InetSocketAddress(brokerURI.getHost(), brokerURI.getPort())` 
does a blocking DNS lookup. This should be avoided since Pulsar's 
ConnectionPool uses Netty's non-blocking DNS lookup. Unresolved addresses are 
expected as input to ConnectionPool.
   
   ### Modifications
   
   replace `new InetSocketAddress` with `InetSocketAddress.createUnresolved`


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