flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gonzalo Herreros <gherre...@gmail.com>
Subject Re: [Flume 1.7.0] 'parseAsFlumeEvent = false' works in Kafka channel?
Date Thu, 02 Jun 2016 12:15:41 GMT
It should work as you say.
I wonder how do you know the events are "empty", do you get new lines in
the console consumer?
Also, the example payload you show looks like avro but not the standard
FlumeEvent, can you show us your agent configuration

Gonzalo


On 2 June 2016 at 12:22, George M. <qazw3456@gmail.com> wrote:

> Hi,
>
> If i set the parameter 'parseAsFlumeEvent' to 'true' when the
> kafka-console-consumer.sh reads the messages of the topic, it shows the
> events like this:
>
> unixtime1420119195000address,example@example.cosiz1060
> <eruiz@kubiwireless.cosiz1060>
>
> hostip10.1.0.17line_type senderid999923BD99Cevent_route
> SENDERmessage´┐Ż2015 Jan 1 14:33:15 10.1.0.17 postfix-dsp/qmgr[5605]:
> 999923BD99C: from=<example@example.com>, size=1060, nrcpt=1 (queue active)
>
> This is correct. The events are serialized by Avro. But setting the
> parameter value to 'false', kafka-console-consumer.sh shows only empty
> events instead of plain text. Is this parameter working with the false
> value?
>
> Regards.
>

Mime
View raw message