Flume应用配置多个sink
发布时间:2022-09-01 15:59:50
发布人:wjy
#配置源->两个通道 myagent.sources = r1 myagent.sources.r1.channels = c1 c2
#分别配置c1->k1;c2->k2 myagent.sinks = k1 k2 myagent.
channels = c1 c2 myagent.sinks.k1.
channel = c1 myagent.sinks.k2.channel = c2
同理也可以配置多个source
下一篇Flume监控器