agent01.sources = source01
agent01.channels = channel01 channel02
agent01.sinks = sink01 sink02
agent01.channels.channel01.
type
= memory
agent01.channels.channel01.capacity = 100000
agent01.channels.channel01.transactionCapacity = 10000
agent01.channels.channel02.
type
= memory
agent01.channels.channel02.capacity = 100000
agent01.channels.channel02.transactionCapacity = 10000
agent01.sources.source01.channels = channel01 channel02
agent01.sources.source01.
type
= org.apache.flume.
source
.kafka.KafkaSource
agent01.sources.source01.zookeeperConnect = 10.107.95.193:2181
agent01.sources.source01.topic = netmarbles.cleansing.log
agent01.sources.source01.groupId = flume
agent01.sources.source01.interceptors = interceptor01
agent01.sources.source01.interceptors.interceptor01.
type
= static
agent01.sources.source01.interceptors.interceptor01.preserveExisting =
false
agent01.sources.source01.interceptors.interceptor01.key = topic
agent01.sources.source01.interceptors.interceptor01.value = flume.dev
agent01.sinks.sink01.channel = channel01
agent01.sinks.sink01.
type
= logger
agent01.sinks.sink02.channel = channel02
agent01.sinks.sink02.
type
= org.apache.flume.sink.kafka.KafkaSink
agent01.sinks.sink02.topic = flume.dev
agent01.sinks.sink02.brokerList = 10.107.95.193:9092
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.