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 #該設置
相關文章
相關標籤/搜索