Mike Percy created FLUME-1585:
---------------------------------

             Summary: Document the load balancing sink processor
                 Key: FLUME-1585
                 URL: https://issues.apache.org/jira/browse/FLUME-1585
             Project: Flume
          Issue Type: Task
            Reporter: Mike Percy


We need to document the load balancing sink processor, including backoff 
options.

Example config:

{noformat}
# test file

agent.channels = ch-0
agent.sources = src-0
agent.sinks = sink-0 sink-1 sink-2
agent.sinkgroups = group-0

agent.channels.ch-0.type = memory
agent.channels.ch-0.capacity = 10000

agent.sources.src-0.type = netcat
agent.sources.src-0.channels = ch-0
agent.sources.src-0.bind = 0.0.0.0
agent.sources.src-0.port = 10002

agent.sinkgroups.group-0.sinks = sink-0 sink-1 sink-2
agent.sinkgroups.group-0.processor.type = load_balance
agent.sinkgroups.group-0.processor.selector = round_robin
agent.sinkgroups.group-0.processor.backoff = true

agent.sinks.sink-0.type = avro
agent.sinks.sink-0.channel = ch-0
agent.sinks.sink-0.hostname = 127.0.0.1
agent.sinks.sink-0.port = 999

agent.sinks.sink-1.type = avro
agent.sinks.sink-1.channel = ch-0
agent.sinks.sink-1.hostname = 127.0.0.1
agent.sinks.sink-1.port = 999

agent.sinks.sink-2.type = logger
agent.sinks.sink-2.channel = ch-0
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to