kafka source type
https://flume.apache.org/FlumeUserGuide.html
# example.conf: A single-node Flume configuration
# Name the components on this agent
a1.sources = r1
a1.sinks = k1
a1.channels = c1
【测试模拟】
a1.sources.r1.type = exec
a1.sources.r1.command = tail -F /opt/data/access.log
【生产】
# Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r1.port = 44444