flume配置:
kafka source + memory channel + HDFS sink
配置内容:
################################################################################
###### list the sources, sinks, channels for the agent named a1
a1.sources = s1
a1.channels = c1
a1.sinks = k1
###### properties for sources
# kafka-sourcce
a1.sources.s1.type = org.apache.flume.source.kafka.KafkaSource
a1.sources.s1.channels = c1
a1.sources.s1.zookeeperConnect = ceshi1:2181,ceshi2:2181,ceshi3:2181/kafka
a1.sources.s1.groupId