Skip to content

Schema registry

Schema registry is a central concept introduced to decouple storage and management of schemas from the usage of schemas for serialization and deserialization. In order to decouple from concrete implementation, we defined an API to work with registries in the sister project Avro Registry Adapter. There are several registry adapters available, which can be used in your implementation. Currently, they are:

  • In-Memory registry for a transient registry
  • Apicurio Registry Adapter to connect to apicur.io Registry

The following registries will be available shortly:

Using one of those adapters you can reuse the existing registry. Every registry adapter needs its specific configuration to operate properly. In the Registry Adapters section, the examples of configuration is provided. For more details, please consult the documentation of the Avro Registry Adapter project.

Registry Performance#

Since the Schema registry is required for any serialization and deserialization process, performance of the schema resolution is vital. To address this requirement, we provide a mechanism of a Composite Registry, effectively building a chain of registries. It might be a good idea to have an in-memory registry as the main registry used in the application, backed by a remote schema registry connected via selected registry adapter.


Last update: November 3, 2023