Flume-ng分布式部署总结
agent.channels = memoryChannel
agent.sinks = hdfsSink
# For each one of the sources, the type is defined
agent.sources.avrosrc.type = avro
agent.sources.avrosrc.bind = 192.168.35.100
agent.sources.avrosrc.port = 44444
1.日志总接收端的配置(负责接收各个节点发送过来的日志数据),修改flume的安装目录下/conf/flume-conf.properties配置文件
(默认没有,cp flume-conf.properties.template flume-conf.properties)
agent.sources = avrosrcagent.channels = memoryChannel
agent.sinks = hdfsSink
# For each one of the sources, the type is defined
agent.sources.avrosrc.type = avro
agent.sources.avrosrc.bind = 192.168.35.100
agent.sources.avrosrc.port = 44444