RigKafka.Avro (Reactive Interaction Gateway v3.0.0-alpha.2) View Source

Module responsible for event serialization and deserialization. Manages also connection to Kafka Schema Registry and caching of used schemas.

Link to this section Summary

Link to this section Functions

Link to this function

decode(data, schema_registry_host)

View Source

Specs

decode(any(), schema_host()) :: String.t()
Link to this function

encode(schema_name, data, schema_registry_host)

View Source

Specs

encode(schema_name(), any(), schema_host()) :: avro_binary()

Specs

encoder(schema(), list()) :: any()

Specs

fetch_schema(any(), schema_host()) :: {id(), schema()}