import org.elasticsearch.transport.netty.NettyTransport;
public class BenchmarkNettyServer {
public static void main(String[] args) {
final boolean spawn = true;
Settings settings = ImmutableSettings.settingsBuilder()
<BUG>.put("transport.netty.port", 9999)
.build();</BUG>
final ThreadPool threadPool = new CachedThreadPool(settings);
final TimerService timerService = new TimerService(settings, threadPool);
final TransportService transportService = new TransportService(new NettyTransport(settings, threadPool), threadPool, timerService).start();

import org.elasticsearch.transport.netty.NettyTransport;
public class BenchmarkNettyServer {
public static void main(String[] args) {
final boolean spawn = true;
Settings settings = ImmutableSettings.settingsBuilder()
.put("transport.netty.port", 9999)
.put("network.tcp.blocking", false)
.build();
final ThreadPool threadPool = new CachedThreadPool(settings);
final TimerService timerService = new TimerService(settings, threadPool);
final TransportService transportService = new TransportService(new NettyTransport(settings, threadPool), threadPool, timerService).start();
