flume配置thrift协议
collector-dev.sources.so.type = thrift
collector-dev.sources.so.bind = 0.0.0.0
collector-dev.sources.so.port = 6667
collector-dev.sources.so.channels = ch1 ch2collector-dev.sources.so.selector.type = multiplexing
collector-dev.sources.so.selector.header = flag
collector-dev.sources.so.selector.mapping.test = ch2
collector-dev.sources.so.selector.default = ch1collector-dev.channels.ch1.type = memory
collector-dev.channels.ch1capacity = 1000
collector-dev.channels.ch1.transationCapacity = 100collector-dev.channels.ch2.type = memory
collector-dev.channels.ch2.capacity = 1000
collector-dev.channels.ch2.transationCapacity = 100collector-dev.sinks.si1.channel = ch1
collector-dev.sinks.si2.type = file_roll
collector-dev.sinks.s