luoxn28 opened a new issue #2104: why BookieNettyServer’s parentGroup and 
childGroup is same EventLoopGroup?
URL: https://github.com/apache/bookkeeper/issues/2104
 
 
   **QUESTION**
   as code, If use independent EventLoopGroup, connect event and write/read 
event  don't interact other. so, why  BookieNettyServer’s parentGroup and 
childGroup is same EventLoopGroup?
   ```java
   private void listenOn(InetSocketAddress address, BookieSocketAddress 
bookieAddress) throws InterruptedException {
           if (!conf.isDisableServerSocketBind()) {
               ServerBootstrap bootstrap = new ServerBootstrap();
               bootstrap.option(ChannelOption.ALLOCATOR, allocator);
               bootstrap.childOption(ChannelOption.ALLOCATOR, allocator);
               bootstrap.group(eventLoopGroup, eventLoopGroup); // <-----
   // ...
   ```
   Looking forward to your reply, thans.

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


With regards,
Apache Git Services

Reply via email to