Skip to main content

Karapace

Karapace is an Aiven-built open-source Schema Registry and REST Proxy for Aiven for Apache Kafka®. Use it to store and manage message schemas, and to produce and consume Kafka messages over HTTP. You can enable or disable each feature independently.

Schema Registry

Schema Registry stores schemas in a central repository. Producers and consumers use those schemas to serialize and deserialize messages. You can version schemas and check compatibility before you publish changes.

Supported formats:

FormatSchema registrationSchema references
Avro
Protobuf
JSON Schema-

Schema references let one schema depend on other registered schemas instead of inlining every definition. Karapace supports Avro schema references from version 6.1.0 onward. For details, see Schema references in Karapace.

REST Proxy

The REST Proxy is a Karapace component that produces and consumes Kafka events over HTTP. It exposes REST APIs for those operations. Use those APIs from tools such as curl, scripts, or HTTP-based services.

You manage Schema Registry over HTTP with REST APIs that register, update, and delete schemas. Those APIs are separate from the Kafka REST APIs served by the REST Proxy. For more information, see Apache Kafka REST API.

Next steps

  1. Enable schema registry and REST proxy
  2. Use schema registry with Java producers and consumers
  3. Connect with Kafka REST

Karapace resources

Related pages