#Testlog
Testlog.sources = a1
Testlog.sinks = s2
Testlog.channels = c1
# Testlog-DB-Source
Testlog.sources.a1.type = spooldir
Testlog.sources.a1.spoolDir =/usr/tmp
Testlog.sources.a1.inputCharset=utf8
# Testlog-Sink
a1.sinks.s1.channel = c1
a1.sinks.s1.type = org.apache.flume.sink.kafka.KafkaSink
a1.sinks.s1.kafka.topic = mytopic
a1.sinks.s1.kafka.bootstrap.servers = master:9092
a1.sinks.s1.kafka.flumeBatchSize = 20
a1.sinks.s1.kafka.producer.acks = 1
a1.sinks.s1.kafka.producer.linger.ms = 1
a1.sinks.s1.kafka.producer.compression.type = snappy
# Testlog-Channel
Testlog.channels.c1.type = memory
Testlog.channels.c1.capacity = 10000
Testlog.channels.c1.transactionCapacity = 1000
# Testlog-Source And Sink to the channel
Testlog.sources.a1.channels = c1
Testlog.sinks.s1.channel = c1