private EmbeddedChannel createChannel(NettyConfig nettyConfig) {
    NettyMessageProcessor processor =
        new NettyMessageProcessor(NETTY_METRICS, nettyConfig, PERFORMANCE_CONFIG, requestHandler);
    return new EmbeddedChannel(new ChunkedWriteHandler(), processor);
  }
Creates an {@link EmbeddedChannel} that incorporates an instance of {@link NettyMessageProcessor}.
@return an {@link EmbeddedChannel} that incorporates an instance of {@link NettyMessageProcessor}.
ambry-rest/src/test/java/com/github/ambry/rest/NettyMessageProcessorTest.java