This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
galaxy-tsg-olap-dll-multipo…/external-flume/conf/proxy/pro/2f2k.properties

25 lines
998 B
Properties
Raw Normal View History

a2.sources = s2
a2.channels = c2
#指定source收集到的数据发送到哪个管道
a2.sources.s2.channels = c2
#taildir source
a2.sources.s2.type = TAILDIR
a2.sources.s2.channels = c2
a2.sources.s2.positionFile = /home/test/2taildir_position.json
a2.sources.s2.filegroups = f2
a2.sources.s2.filegroups.f2 = /home/test/log2/.*dat
a2.sources.s2.maxBatchCount = 1000
# kafka channel充当生产者
a2.channels.c2.type = org.apache.flume.channel.kafka.KafkaChannel
a2.channels.c2.brokerList = 192.168.40.222:9092
a2.channels.c2.zookeeperConnect=192.168.40.222:2181/kafka
a2.channels.c2.topic = recv_test
#false表示是以纯文本的形式写进入的true是以event的形式写进入的以event写进入时会出现乱码 默认是true
a2.channels.c2.parseAsFlumeEvent = false
a2.channels.c2.kafka.producer.acks = 1
a2.channels.c2.producer.type=async
a2.channels.c2.queue.buffering.max.ms = 5000
a2.channels.c2.queue.buffering.max.messages=20000
a2.channels.c2.batch.num.messages=500