Allow injection of EventLoopGroup and ByteBufAllocator as part of netty 4 customization
Be able to “inject” the EventLoopGroup to use. As we already have EventLoopGroup’s created we would like to be able to inject ours to share resources. This would even allow us to use the same EventLoop for the driver and the actual connection of our app and so eliminate context-switching.
Be able to “inject” ByteBufAllocator. Again this is about resource sharing.
Important point to remember: do not shutdown the EventLoopGroup if it was passed from outside (this is currently done in Connection.Factory.shutdown).
Planning this for 2.0.10 since it's closely related to JAVA-640.