new NioServerSocketChannelFactory(
Executors.newCachedThreadPool(),
Executors.newCachedThreadPool())
);
bootstrap.setRpcServerCallExecutor(new ThreadPoolCallExecutor(10, 10));
// set up request logging
// final CategoryPerServiceLogger logPolicy = new CategoryPerServiceLogger();
// logPolicy.setLogRequestProto(true);