Re: Extracting records as bytes from avro file

2014-10-15 Thread Doug Cutting
There is no method to read individual records as binary since they're not delimited nor length-prefixed. Instead you can get a block of records as binary and the count of records in the block and pass that to a deserializer that parses individual records. Doug On Wed, Oct 15, 2014 at 4:47 AM, Iv

Extracting records as bytes from avro file

2014-10-15 Thread Ivan Balashov
Hi, Imagine a scenario where one reads avro file and distributes individual records (aka datums). Suppose the schema is known, and we just need to pass records as bytes to another system for further processing. Given the above, is there a way to read individual records as bytes without deserialis