Skip to main content
pub fn encode_records_sequential<T: Serialize>(
    schema: &Schema,
    records: &[T],
) -> Result<Vec<Vec<u8>>, KineticaError>

Encodes records sequentially using serde_avro_fast.

Use this for small batches (<500 records) where parallel overhead would outweigh benefits. For automatic threshold handling, use encode_records.