avrora v0.2.0 Avrora.Storage.Registry View Source

A small wrapper for Confluent Schema Registry, with as less as possible functionality. Inspired by Schemex.

Link to this section Summary

Functions

Fetch a schema by a globally unique ID.

Link to this section Functions

Fetch a schema by a globally unique ID.

FIXME: Can't use a real docs with iex> because don't know how to make it work

Examples

...> {:ok, avro} = Avrora.Storage.Registry.get(1)
...> {type, _, _, _, _, _, full_name, _} = avro.schema
...> full_name <> " of " <> type
"io.confluent.Payment of :avro_record_type"