# Schema Registries

{% hint style="success" %}
See [provisioning](https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/automation/README.md) for automating connections.

Consider [Rate Limiting](https://github.com/lensesio-dev/docs/blob/master/deployment/prepare-your-environment/rate-limiting.md) if you have a high number of schemas.
{% endhint %}

Lenses can work with the following schema registry implementations which can be added via the **`Connections`** page in Lenses.

Go to **Admin->Connections->New Connections->Schema Registry** and follow the guide for your registry provider.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>AWS Glue</strong></td><td>Connect Lenses to your AWS Glue service for schema registry support.</td><td></td><td><a href="https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/schemas-registries/aws-glue.md">https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/schemas-registries/aws-glue.md</a></td></tr><tr><td><strong>Confluent</strong></td><td>Connect Lenses to Confluent Schema Registry.</td><td></td><td><a href="https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/schemas-registries/confluent.md">https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/schemas-registries/confluent.md</a></td></tr><tr><td><strong>IBM Event Streams</strong></td><td>Connect Lenses to IBM Event Streams Schema Registry</td><td></td><td><a href="https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/schemas-registries/ibm-event-streams-registry.md">https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/schemas-registries/ibm-event-streams-registry.md</a></td></tr><tr><td><strong>Apicurio</strong></td><td>Connect Lenses to Apicurio.</td><td></td><td><a href="https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/schemas-registries/apicurio.md">https://github.com/lensesio-dev/docs/blob/master/getting-started/connections/schemas-registries/apicurio.md</a></td></tr></tbody></table>

## Authentication

TLS and basic authentication are supported for connections to Schema Registries.

## JMX Metrics

Lenses can collect Schema registry metrics via:

1. JMX
2. Jolokia

## Supported formats

* AVRO
* PROTOBUF

{% hint style="warning" %}
JSON and XML formats are supported by Lenses but without a backing schema registry.
{% endhint %}

To connect your Schema Registry with Lenses, select **Schema Registry -> Create Connection.**

## Schema deletion

To enable the deletion of schemas in the UI, set the following in the **`lenses.conf`** file.

```bash
## Enable schema deletion in the Lenses UI
## default: false
lenses.schema.registry.delete = true

## When a topic is deleted,
## automatically delete also its associated Schema Registry subjects
## default: false
lenses.schema.registry.cascade.delete = true
```

{% hint style="danger" %}
IBM Event Streams supports hard deletes only
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lenses.io/latest/devx/5.5/getting-started/connections/schemas-registries.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
