Details
-
Improvement
-
Resolution: Duplicate
-
Major - P3
-
None
-
3.2.2
-
None
-
CentOS - 6.4 64 bit
Description
Mongo Async driver when used in netty mode, gives an option to define EventLoopGroup in the constructor for NettyStreamFactoryFactory.
However it is not possible to use EpollEventLoopGroup since in NettyStream class in openAsync() bootstrap channel will always be NioSocketChannel.
|
NettyStream.java |
|
|
public void openAsync(final AsyncCompletionHandler<Void> handler) {
|
Bootstrap bootstrap = new Bootstrap();
|
bootstrap.group(workerGroup);
|
bootstrap.channel(NioSocketChannel.class);
|
Attachments
Issue Links
- duplicates
-
JAVA-2149 Configuring channel type in NettyStreamFactoryFactory
-
- Closed
-