flume push sparkStreaming和sparkStreaming pull flume
flume push数据到SparkStreaming
flume文件配置
# 定义 source, channel, 和sink的名字
a1.sources = s1
a1.channels = c1
a1.sinks = avroSink
# 对source的一些设置
a1.sources.s1.type = netcat
a1.sources.s1.bind = localhost
a1.sources.s1.port = 5678
a1.sources.s1.channels = c1
# 对
原创
2021-01-23 10:59:01 ·
475 阅读 ·
0 评论