Skip to content

Instantly share code, notes, and snippets.

@dhana-git
Created April 18, 2023 14:34
Show Gist options
  • Save dhana-git/133754aa1c365c79ca8973f07983e4b7 to your computer and use it in GitHub Desktop.
Save dhana-git/133754aa1c365c79ca8973f07983e4b7 to your computer and use it in GitHub Desktop.
Schema Registry

Schema Registry

A schema registry lets you store schema information in a textual format and makes that information accessible to various applications that need it to receive and send data in binary format.

A schema is referenceable as a record consisting of a subject that is the logical name of the schema, the schema version, and the schema format, which describes the binary format of the data.

The producer consults the registry to establish the correct schema ID when sending a message, and the consumer uses the registry to fetch the sender's schema.

With this solution, we try to move the schema resolution to a central service. It can remove some of the consumer versioning issues, as they will request the schema on demand from a centralized service and apply it dynamically, it can also introduce significant complexity, need for a framework, and a possible availability problem to the system.

Schema Registry

Products/Solutions

Confluent Schema Registry

https://docs.confluent.io/platform/current/schema-registry/index.html#sr-overview

Apicurio Registry

https://www.apicur.io/registry/

Spring Cloud Schema Registry

https://spring.io/projects/spring-cloud-schema-registry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment