Schema Registries

Lenses supports external schema registries for Avro type schemas. Schema Registries from both Confluent and Hortonworks are compatible. Once configured, Lenses provides an interface to manage the schemas based on the appropriate permissions.

See Docs on how to configure Schema Registry

  1. From the Header Bar Menu, go to the Dashboard panel.
  2. On the side navigation, select Schema Registry under the Data section.

Schemas

Create a schema

  1. Click the New Schema button.
  2. Fill in the unique Name and the Avro schema.
Schemas

View a schema

Navigate to a specific schema by clicking the Name of the schema from the list. Each schema represents either the Key or the Value.

Schemas

Select version

Avro schemas allow evolution based on the compatibility rule set. You can navigate to the different versions of each schema.

Schemas

Specific compatibility can be set for each schema.

Schemas

Edit a schema

Based on the compatibility mode of the schema, schemas can be evolved to a new version.

  1. Click on the Edit button to enable the editor and update the schema.
  2. Click the Validate button to ensure it’s following the compatibility.
  3. Click the Evolve Schema button to save the new version.

Delete a schema

Deleting a schema has three options:

  1. Delete the latest version.
  2. Delete a specific version.
  3. Delete all versions.

To delete a schema navigate to the actions options menu:

Schemas

Schema history

Compare versions of the same schema by navigating to the History from the actions options menu:

Schemas