简体   繁体   中英

Fastavro Schemaless Reader

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()?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM