Small Elixir wrapper for Confluent Schema Registry.
Add schemex
to your list of dependencies in mix.exs
:
def deps do
[
{:schemex, "~> 0.1.1"}
]
end
Run mix deps.get
Each functions' first parameter is the host of the Schema Registry, this way the user of the library can decide configuration approach. Hex documentation can be found here
Available functions:
Get top level configuration.
List all subjects.
List versions of a subject.
Get specific version of a subject.
Get latest version of a subject.
Get schema specified by unique global id.
Delete a subject.
Delete a subject's version.
Register a new schema version under a subject.
Check if schema has been registered under a subject.
Test if a schema's compatibility with a specific version under subject.
Update compatibility requirements globally.
Update compatibility requirements under a subject.