My Follow-up question of this -> [Avro deserialization from Kafka using fastavro]
Is there any way to read all records from avro file(Without Header) using fastavro schemaless_reader()?
The schemaless_reader
can only read a single record so that probably won't work.
If you have a true avro file, even if you strip out the header, there might still be other non-record information (for example, the sync marker) so I wouldn't suggest taking an actual avro file, stripping the header, and expect to still be able to read it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.