nodece commented on code in PR #23590:
URL: https://github.com/apache/pulsar/pull/23590#discussion_r1837590960


##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyService.java:
##########
@@ -179,7 +179,8 @@ public ProxyService(ProxyConfiguration proxyConfig,
         this.authenticationService = authenticationService;
 
         DnsNameResolverBuilder dnsNameResolverBuilder = new 
DnsNameResolverBuilder()
-                
.channelType(EventLoopUtil.getDatagramChannelClass(workerGroup));
+                
.channelType(EventLoopUtil.getDatagramChannelClass(workerGroup))
+                
.socketChannelType(EventLoopUtil.getSocketChannelClass(workerGroup), true);

Review Comment:
   ```suggestion
                   
.socketChannelType(EventLoopUtil.getClientSocketChannelClass(workerGroup), 
true);
   ```



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