標籤:cat load capacity type tca nsa class ado eve
a1.sources = r1a1.sinks = k1 k2a1.channels = c1# Describe/configure the sourcea1.sources.r1.type = netcata1.sources.r1.bind = localhosta1.sources.r1.port = 44444# Describe the sinka1.sinks.k1.type =file_rolla1.sinks.k1.sink.directory=/home/chenyun/data/flume/file_sinke1a1.sinks.k2.type =file_rolla1.sinks.k2.sink.directory=/home/chenyun/data/flume/file_sinke2# Use a channel which buffers events in memorya1.channels.c1.type = memorya1.channels.c1.capacity = 1000a1.channels.c1.transactionCapacity = 100# Bind the source and sink to the channela1.sources.r1.channels = c1a1.sinks.k1.channel = c1a1.sinks.k2.channel = c1a1.sinkgroups = g1a1.sinkgroups.g1.sinks = k1 k2a1.sinkgroups.g1.processor.type = load_balancea1.sinkgroups.g1.processor.backoff = truea1.sinkgroups.g1.processor.selector = random
Hadoop實戰-Flume之Sink Load-balancing(十七)