配置文件写法
# 命名组件
<Agent>.sources = <Source1>
<Agent>.channels = <Channel1>
<Agent>.sinks = <Sink1>
# 设置sources
<Agent>.sources.<Source1>.type =
# 设置channel
<Agent>.channels.<Channel1>.type =
# 设置sink
<Agent>.sinks.<Sink1>.type =
# 绑定sources和sink到channel
# source可以绑定多个channel
# sink只能绑定一个channel
<Agent>.sources.<Source1>.channels = <Channel1>
<Agent>.sinks.<Sink1>.channel = <Channel1>