workerGroup = new NioEventLoopGroup();
channelGroup = new DefaultChannelGroup("mongodb-channels", workerGroup.next());
try {
ServerBootstrap bootstrap = new ServerBootstrap();
bootstrap//
.group(bossGroup, workerGroup)//
.channel(NioServerSocketChannel.class)//
.option(ChannelOption.SO_BACKLOG, 100)//
.localAddress(socketAddress)//
.childOption(ChannelOption.TCP_NODELAY, true)//