> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document). # How to Enable Schema Registry on Kafka Clusters Kafka is an open-source distributed event and stream-processing platform built to process demanding real-time data feeds. It is inherently scalable, with high throughput and availability. Managed Kafka clusters support schema registry, a free service you can enable that protects your cluster when sending or receiving incorrect, modified, or corrupt data. Schema registry copies the schema of all data sent by producers into a local cache, then cross-references that schema with the data’s consumers to ensure there is no mismatch. This allows you to discover and enforce your Kafka cluster’s message structures. You can only enable schema registry on General Purpose Managed Kafka clusters, not ones with shared CPU plans. If you have enabled schema registry on a Kafka cluster and you later want to downscale it to a shared CPU plan, you must first disable schema registry. Schema registry is available on port `25065` using the same host. ## Enable Schema Registry using the Control Panel To enable schema registry, go to the [control panel](https://cloud.digitalocean.com/databases) and click on your Kafka database. Click on the **Settings** tab, then scroll to the **Schema Registry** section and click the toggle to **On**. ![](https://docs.digitalocean.com/screenshots/databases/kafka-enable-schema-registry.a6308bc3a1f735d6a115a90ff5454461116ff67418d5f36b94be4d8259872da6.png) You can disable schema registry by clicking the same toggle to **Off**. ## Manage Registries and Schemas using the API Once you have enabled schema registry, you can use the DigitalOcean API to [create a new registry](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md#databases_create_kafka_schema), [list schemas](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md#databases_list_kafka_schemas), [get a schema by name](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md#databases_get_kafka_schema), [get a schema by subject version](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md#databases_get_kafka_schema_version), or [delete a schema by subject name](https://docs.digitalocean.com/reference/api/reference/databases/index.html.md#databases_delete_kafka_schema).