Important

You are viewing documentation for an older version of Confluent Platform. For the latest, click here.

Installing and Configuring Schema Registry

Schema Registry is included in Confluent Enterprise and Confluent Open Source. The binaries are located at https://www.confluent.io/download/ as a part of the Confluent Enterprise and Confluent Open Source bundles.

For installation instructions, see the Installing and Upgrading.

System Requirements

Review the system requirements before installing Schema Registry.

Development

To build a development version, you may need a development versions of common and rest-utils. After installing these, you can build Schema Registry with Maven. All the standard lifecycle phases work. During development, use

mvn compile

to build,

mvn test

to run the unit and integration tests, and

mvn exec:java

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

To create a packaged version, optionally skipping the tests:

mvn package [-DskipTests]

This will produce a version ready for production in package/target/kafka-schema-registry-package-$VERSION-package containing a directory layout similar to the packaged binary versions. You can also produce a standalone fat jar using the standalone profile:

mvn package -P standalone [-DskipTests]

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