Adding a new schema
To add a new schema to Schema Registry, provide information about the schema, select a compatibility policy and upload the schema text from a file. A schema is a collection of information that describes your data. The schema’s metadata includes group, version and description.
Ensure that you understand compatibility policies. Once selected, you cannot change the compatibility policy for a schema.
- From the Schema Registry UI, click the + icon.
The Add New Schema dialog appears.
Add the schema metadata as follows:
A unique name for each schema. Used as a key to look up schemas.
A short description of the schema.
Schema TypeThe schema format. Select one of the following formats:
- Avro schema provider
- Json schema provider
Allows you to group schemas in any logical order.
CompatibilityThis option appears only when the Avro schema provider option is selected. Sets the compatibility policy for the schema. Once set, this cannot be changed. Select one of the following options:
For more information about compatibility, see Compatibility Policies.
- Schema Text
- To allow schema to evolve over time by creating multiple versions, select the
- Click Choose File to upload a new schema.