Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

schema-registry

> 编程语言
Open source

Confluent Schema Registry for Kafka

2.5K stars0 likes0 views
WebsiteGitHub

About

Confluent Schema Registry for Kafka

Schema Registry

Confluent Schema Registry provides a serving layer for your metadata. It provides a RESTful interface for storing and retrieving your Avro®, JSON Schema, and Protobuf schemas. It stores a versioned history of all schemas based on a specified subject name strategy, provides multiple compatibility settings and allows evolution of schemas according to the configured compatibility settings and expanded support for these schema types. It provides serializers that plug into Apache Kafka® clients that handle schema storage and retrieval for Kafka messages that are sent in any of the supported formats.

This README includes the following sections:

  • Documentation
  • Quickstart API Usage examples
  • Installation
  • Deployment
  • Development
  • OpenAPI Spec
  • Contribute
  • License

Documentation

Here are a few links to Schema Registry pages in the Confluent Documentation.

  • Installing and Configuring Schema Registry
  • Schema Management overview
  • Schema Registry Tutorial
  • Schema Registry API reference
  • Serializers, Deserializers for supported schema types
  • Kafka Clients
  • Schema Registry on Confluent Cloud

Quickstart API Usage examples

The following assumes you have Kafka and an instance of the Schema Registry running using the default settings. These examples, and more, are also available at API Usage examples on docs.confluent.io.

…

Installation

You can download prebuilt versions of the schema registry as part of the Confluent Platform. To install from source, follow the instructions in the Development section.

Deployment

The REST interface to schema registry includes a built-in Jetty server. The wrapper scripts bin/schema-registry-start and bin/schema-registry-stop are the recommended method of starting and stopping the service.

Development

To build a development version, you may need a development versions of common and rest-utils. After installing these, you can build the Schema Registry with Maven.

This project uses the Google Java code style to keep code clean and consistent.

To build:

mvn compile

To run the unit and integration tests:

mvn test

To run an instance of Schema Registry against a local Kafka cluster (using the default configuration included with Kafka):

mvn exec:java -pl :kafka-schema-registry -Dexec.args="config/schema-registry.properties"

To create a packaged version, optionally skipping the tests:

mvn package [-DskipTests]

It produces:

  • Schema registry in package-schema-registry/target/kafka-schema-registry-package-$VERSION-package
  • Serde tools for avro/json/protobuf in package-kafka-serde-tools/target/kafka-serde-tools-package-$VERSION-package

Each of the produced contains a directory layout similar to the packaged binary versions.

You can also produce a standalone fat JAR of schema registry using the standalone profile:

mvn package -P standalone [-DskipTests]

This generates package-schema-registry/target/kafka-schema-registry-package-$VERSION-standalone.jar, which includes all the dependencies as well.

OpenAPI Spec

OpenAPI (formerly known as Swagger) specifications are built automatically using swagger-maven-plugin on compile phase.

Contribute

Thanks for helping us to make Schema Registry even better!

  • Source Code: https://github.com/confluentinc/schema-registry
  • Issue Tracker: https://github.com/confluentinc/schema-registry/issues

License

The project is licensed under the Confluent Community License, except for the modules listed below, which are under the Apache 2.0 license:

  • All client-* and client-encryption-* modules: client, client-encryption, client-encryption-tink, client-encryption-aws, client-encryption-azure, client-encryption-gcp, client-encryption-hcvault, client-encryption-alicloud
  • All avro-* modules: avro-types, avro-serializer, avro-data, avro-converter, avro-serde
  • All serializer and serde modules: schema-serializer, json-serializer, protobuf-serializer, json-schema-serializer, protobuf-serde, json-schema-serde
  • schema-types, schema-rules, schema-converter
  • protobuf-types
  • dek-registry-client
  • maven-plugin

See LICENSE file in each subfolder for detailed license agreement.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaavroavro-schemaconfluentjson

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言