a1.sources = r1
a1.channels = c1
a1.sinks = k1
a1.sources.r1.type = exec
a1.sources.r1.command = tail -F /opt/module/hive/logs/hive.log
a1.channels.c1.type = org.apache.flume.channel.kafka.KafkaChannel
a1.channels.c1.kafka.bootstrap.servers = hadoop01:9092,hadoop02:9092,hadoop03:9092
a1.channels.c1.kafka.topic = first
a1.channels.c1.parseAsFlumeEvent = false
a1.sinks.k1.type = null
a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1
Flume对接Kafka(Kafka Channel)实例
最新推荐文章于 2023-02-03 09:39:10 发布