-How to use Apache Avro to encode the data in avro binary encoded form?
I am trying to use Apache Avro to serialize one of our Attributes data and
I want to use binary encoding version for that not the JSON version. In
this case, I don't want to serialize to disk or some avro data files. I am
planning to write Avro binary encoded-data in Cassandra column family.
Below is the code so far I have- I am not sure how to start encoding into
Schema schema = new
GenericRecord record = new GenericData.Record(schema);
// what I am supposed to do here to serialize into binary encoded
version of Avro?
// then write to Cassandra here.
Can anyone provide a simple example basis on my code how to do that? And
then I can use that to write into Cassandra column family.
Mika Ristimaki 2013-09-19, 08:52
raihan26 2013-09-19, 17:45
Raihan Jamal 2013-09-20, 21:44
Doug Cutting 2013-09-20, 22:10
Raihan Jamal 2013-09-19, 08:38
Akram 2014-05-11, 02:07