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…/internal-flume/conf/proxy/proxy_f2k5.properties
2020-05-12 19:03:13 +08:00

41 lines
2.2 KiB
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

proxy.sources = s2
proxy.channels = c2
#指定source收集到的数据发送到哪个管道
proxy.sources.s2.channels = c2
#taildir source
proxy.sources.s2.type = TAILDIR
proxy.sources.s2.channels = c2
#需要映射到宿主机做持久化
proxy.sources.s2.positionFile = /home/test/5proxy_position.json
#需要分组13台主机的数据
proxy.sources.s2.filegroups = f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13
#需要分组按照序号 [0-9] 目前最多支持10个进程可以增加
proxy.sources.s2.filegroups.f1 = /home/data/192.168.60.101/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f2 = /home/data/192.168.60.102/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f3 = /home/data/192.168.60.103/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f4 = /home/data/192.168.60.104/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f5 = /home/data/192.168.60.105/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f6 = /home/data/192.168.60.106/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f7 = /home/data/192.168.60.107/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f8 = /home/data/192.168.60.108/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f9 = /home/data/192.168.60.109/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f10 = /home/data/192.168.60.110/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f11 = /home/data/192.168.60.111/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f12 = /home/data/192.168.60.112/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.filegroups.f13 = /home/data/192.168.60.113/PROXY-EVENT-LOG/.*[8-9].dat
proxy.sources.s2.maxBatchCount = 10000
# kafka channel充当生产者
proxy.channels.c2.type = org.apache.flume.channel.kafka.KafkaChannel
proxy.channels.c2.brokerList = 192.168.40.222:9093
proxy.channels.c2.topic = PROXY-EVENT-LOG
#false表示是以纯文本的形式写进入的true是以event的形式写进入的以event写进入时会出现乱码 默认是true
proxy.channels.c2.parseAsFlumeEvent = false
proxy.channels.c2.kafka.producer.acks = 1
proxy.channels.c2.producer.type=sync
proxy.channels.c2.queue.buffering.max.ms = 5000
proxy.channels.c2.queue.buffering.max.messages=20000
proxy.channels.c2.batch.num.messages=5000