记录一次Flume消费kafka数据到HDFS踩到到的坑
Flume 原始配置
a1.sources=r1
a1.channels=c1
a1.sinks=k1
a1.sources.r1.type = org.apache.flume.source.kafka.KafkaSource
a1.sources.r1.batchSize = 5000
a1.sources.r1.batchDurationMillis = 2000
a1.sources.r1.kafka.bootstrap.servers = hadoop102:9092,hadoop103:909
原创
2020-11-08 19:32:22 ·
892 阅读 ·
0 评论