ATTENTION flume-ng-kafka-source has been merged into flume 1.6 which will release soon. This repo WILL NOT in maintenance.
This project is used for flume-ng to communicate with kafka 0.7,2.
agent_log.sources.kafka0.type = com.vipshop.flume.source.kafka.KafkaSource
agent_log.sources.kafka0.zk.connect = 127.0.0.1:2181
agent_log.sources.kafka0.topic = all
agent_log.sources.kafka0.groupid = es
agent_log.sources.kafka0.channels = channel0
In fact I'm a newbie in Java. I have learnt a lot from flumg-ng-rabbitmq. Thanks to Jeremy Custenborder.