schemex v0.1.1 Schemex
Small Elixir wrapper for Confluent Schema Registry.
Available methods:
- config/1
- subjects/1
- versions/2
- version/3
- latest/2
- schema/2
- delete/2
- delete/3
- register/3
- check/3
- test/4
- update_compatibility/2
- update_compatibility/3
Link to this section Summary
Functions
Check whether a schema has been registered under subject “value”
Get top level config
Delete all versions of the schema registered under subject “value”
Delete version 1 of the schema registered under subject “value”
Fetch latest version of the schema registered under subject “value”
Register a new version of a schema under the subject “Kafka-key”
Fetch a schema by globally unique id 1
List all subjects
Test compatibility of a schema with specific version of schema under subject “value”
Update compatibility requirements globally
Update compatibility requirements under the subject “value”
Fetch version 1 of the schema registered under subject “value”
List all schema versions registered under the subject “value”
Link to this section Functions
Check whether a schema has been registered under subject “value”
Schemex.check("http://localhost:8081", "value", %{"type" => "string"})
Get top level config.
Schemex.config("http://localhost:8081")
Delete all versions of the schema registered under subject “value”
Schemex.delete("http://localhost:8081", "value")
Delete version 1 of the schema registered under subject “value”
Schemex.delete("http://localhost:8081", "value", 1)
Fetch latest version of the schema registered under subject “value”
Schemex.latest("http://localhost:8081", "value")
Register a new version of a schema under the subject “Kafka-key”
Schemex.register("http://localhost:8081", "value", %{"type" => "string"})
Fetch a schema by globally unique id 1
Schemex.schema("http://localhost:8081", 1)
List all subjects.
Schemex.subjects("http://localhost:8081")
Test compatibility of a schema with specific version of schema under subject “value”
Schemex.test("http://localhost:8081", "value", %{"type" => "string"})
Update compatibility requirements globally
Schemex.update_compatibility("http://localhost:8081", "NONE")
Update compatibility requirements under the subject “value”
Schemex.update_compatibility("http://localhost:8081", "value", "NONE")
Fetch version 1 of the schema registered under subject “value”
Schemex.version("http://localhost:8081", "value", 1)
List all schema versions registered under the subject “value”
Schemex.versions("http://localhost:8081", "value")