# Overview

{% hint style="success" %}
Consider [Rate Limiting](https://docs.lenses.io/latest/deployment/configuration/agent/rate-limiting) if you have a high number of schemas.
{% endhint %}

{% hint style="success" %}
Only one Schema Registry connection is allowed.
{% endhint %}

## Authentication

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

## JMX Metrics

The Agent can collect Schema registry metrics via:

1. JMX
2. Jolokia

See [Infrastructure JMX Metrics.](https://docs.lenses.io/latest/deployment/configuration/agent/automation/jmx-metrics)

## Supported formats

* AVRO
* PROTOBUF

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

## Schema deletion

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

{% code title="lenses.conf" %}

```properties
## 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
```

{% endcode %}

{% 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/deployment/configuration/agent/automation/schema-registries/overview.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.
