Skip to main content

Module avro

Module avro 

Source

Structs§

AvroEncoder
Manages encoding of Avro-encoded bytes.
AvroSchemaGenerator
Generates an Avro schema
AvroSchemaResolver
Decoder
Manages decoding of Avro-encoded bytes.
DiffPair

Enums§

DocTarget
WriterSchemaKey
Identifier carried in a wire-format header that points at the writer’s schema. Different schema registries key their writer schemas differently: Confluent uses a sequential i32, AWS Glue uses a UUID. Callers do not have to care which kind of key they’re holding — the resolver routes it back to the matching cache.
WriterSchemaProvider
Provides writer schemas to an AvroSchemaResolver.

Functions§

encode_datums_as_avro
Encodes a sequence of Datum as Avro (key and value), using supplied column names and types.
encode_debezium_transaction_unchecked
get_debezium_transaction_schema
parse_schema
schema_to_relationdesc
Converts an Apache Avro schema into a list of column names and types.