flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grigoriy Roghkov <grigoriyrogh...@gmail.com>
Subject Re: Kafka channel without sink
Date Sun, 16 Oct 2016 13:07:56 GMT
Hi, yes you can.

An example configuration:

agent1.sources = source1
agent1.channels = channel1

agent1.sources.source1.channels = channel1

agent1.sources.source1.type = syslogtcp
agent1.sources.source1.host=syslog_host
agent1.sources.source1.port=5140

agent1.channels.channel1.type = org.apache.flume.channel.kafka.KafkaChannel
agent1.channels.channel1.kafka.pollTimeout = 500
agent1.channels.channel1.kafka.topic = kafka-topic
agent1.channels.channel1.transactionCapacity = 1000
agent1.channels.channel1.capacity = 1000
agent1.channels.channel1.producer.linger.ms=0


Tnanks,

On Sat, Oct 15, 2016 at 7:54 PM, Silvio Di gregorio <
silvio.digregorio@gmail.com> wrote:

> Hi
> Can i configure an agent flume with kafka channel without a sink.
> Thanks
> Silvio
>

Mime
View raw message