flume将数据发送到kafka、hdfs、hive、http、netcat等模式的使用总结

一、source为http模式,sink为logger模式,将数据在控制台打印出来。 conf配置文件以下: # Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = http #该设置
相关文章
相关标签/搜索