public class AvroNettyProducerTest extends AvroProducerTestSupport {
@Override
protected void initializeServer() {
if (server == null) {
server = new NettyServer(new SpecificResponder(KeyValueProtocol.PROTOCOL, keyValue), new InetSocketAddress("localhost", avroPort));
server.start();
}
if (serverReflection == null) {
serverReflection = new NettyServer(new ReflectResponder(TestReflection.class, testReflection), new InetSocketAddress("localhost", avroPortReflection));