Flume的常用Channel
Memory Channel
File Channel
agent-aisi.sources = source-aisi
agent-aisi.channels = channel-aisi
agent-aisi.sinks = sink-aisi
agent-aisi.sources.source-aisi.type = netcat
agent-aisi.sources.source-aisi.bind = localhost
agent-aisi.sources.source-aisi.port = 44444
agent-aisi.channels.channel-aisi.type = file
agent-aisi.channels.channel-aisi.dataDir = /root/filedata
agent-aisi.sinks.sink-aisi.type = logger
agent-aisi.sources.source-aisi.channels = channel-aisi
agent-aisi.sinks.sink-aisi.channel = channel-aisi
...大约 2 分钟