两层agent连接

avroSource和avroSink实现跃点agent代理:
配置avro_hop.conf
#a1:
a1.sources = r1
a1.sinks = k1
a1.channels = c1
a1.sources.r1.type = netcat
al.sources.r1.bind = localhost
a1.sources.r1.port = 44444
a1.sinks.k1.type = avro
a1.sinks.k1.bind = localhost
a1.sinks.k1.port = 88888
a1.channels.c1.type = memory
a1.channels.c1.capacity = 1000
a1.channels.c1.transactionCapacity = 100
a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1
#a2:
a2.sources = r2
a2.sinks = k2
a2.channels = c2
a2.sources.r2.type = avro
a2.sources.r2.bind = localhost
a2.sources.r2.port = 88888
a2.sinks.k2.type = logger
a2.channels.c2.type = memory
a2.chann