From dev ML, Credits to Cameron Gandevia
Embedded flume agents were using around 50 netty IO worker threads.
The issue was tracked down to the NettyAvroRpcClient which instantiates
the NioClientSocketChannelFactory with the default workerCount (2 * the
number of available processors). We would like finer control over the
number of IO threads we dedicate to flume