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 deserialising them first?

As far as the documentation goes it can be easily done with blocks,
but it doesn't mention records.

Just to be more clear, there is a method which allows to write encoded
datum to stream
org.apache.avro.file.DataFileWriter#appendEncoded

Is there a similar method for reading records as bytes?

Thanks,

Reply via email to