You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by Gumnaam Sur <gu...@gmail.com> on 2012/07/19 23:12:50 UTC

Avro Event Serialization

I tried using Avro Event Serialization, but the whole AvroEvent java object
is serialized and written to the sink, instead of the textual
representation. Is this by design ? and if so, what value does this add ?
e.g.
here's a message that was stored in my file_roller sink
'Objavro.codenullavro.schema▒{"type":"record","name":"Event","fields":[{"name":"headers","type":{"type":"map","values":"string"}},{"name":"body","type":"bytes"}]}▒▒:x▒▒?R▒▒▒:▒Stimestamp1342729025000Severityhostlm-collectorFacility8root:
Hi▒▒:x▒▒?R▒▒▒:▒S['

Notice the binary characters, and the java class serialization. Won't it be
beneficial if only the Textual part is written ?