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.digrego...@gmail.com> wrote:

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

Reply via email to