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.
Planning this for 2.0.10 since it's closely related to JAVA-640.
Important point to remember: do not shutdown the EventLoopGroup if it was passed from outside (this is currently done in Connection.Factory.shutdown).