rdhabalia commented on pull request #8062:
URL: https://github.com/apache/pulsar/pull/8062#issuecomment-693055027


   `bootstrap.register().addListener((ChannelFutureListener) cf -> {..}));` 
gets executed into io thread which is used by eventloop so, both solutions 
create connection on io thread instead caller-thread. but first approach seems 
cleaner so, we can go with first one and let io thread handle connection 
creation. 
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to