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. <[email protected]> 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,[email protected] > <[email protected]> > > hostip10.1.0.17line_type senderid999923BD99Cevent_route > SENDERmessage�2015 Jan 1 14:33:15 10.1.0.17 postfix-dsp/qmgr[5605]: > 999923BD99C: from=<[email protected]>, 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. >
