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/connection/pro/k2f.properties
2020-05-14 13:34:58 +08:00

23 lines
915 B
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.

#为source channel sink起名
a1.channels = c1
a1.sinks = k1
#指定channel为kafka channel,省略source使得效率更高
a1.channels.c1.type = org.apache.flume.channel.kafka.KafkaChannel
a1.channels.c1.kafka.bootstrap.servers = 192.168.40.119:9092
a1.channels.c1.kafka.topic = test
a1.channels.c1.kafka.consumer.group.id = lxk_0509
a1.channels.c1.kafka.consumer.auto.offset.reset = latest
a1.channels.c1.kafka.consumer.enable.auto.commit = true
a1.channels.c1.kafka.consumer.fetch.max.wait.ms = 1000
a1.channels.c1.kafka.consumer.fetch.min.bytes = 10485760
a1.channels.c1.parseAsFlumeEvent = false
#原始file roll sink将数据写到本机磁盘
a1.sinks.k1.type = file_roll
a1.sinks.k1.channel = c1
a1.sinks.k1.sink.pathManager = default
a1.sinks.k1.sink.pathManager.extension = dat
a1.sinks.k1.sink.pathManager.prefix = test-
a1.sinks.k1.sink.rollInterval = 60
a1.sinks.k1.sink.directory = /home/test/log