flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gumnaam Sur <gumnaam....@gmail.com>
Subject Avro Event Serialization
Date Thu, 19 Jul 2012 21:12:50 GMT
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 ?

Mime
View raw message