Schema Management

Purpose of this screen

The schemas tab allows you to keep track of the different schemas you use. In addition, you can keep track of different versions with version control.

Uploading a schema

  1. Click on Add Schema button

    Add Schema
  2. Upload the Avro schema as a text file (avsc format). The Avro syntax will be validated as soon as the file has been uploaded.

  3. Add the version for the schema

  4. Click Add schema

Any authenticated user can upload a schema for their tenant.

Upload Error Scenarios

There are several Schema related errors that can occur during upload

  • Duplicate schema: An attempt at uploading a duplicate schema for a tenant is rejected with an error message containing the duplicated version as shown below

  • Incompatible schema: In some situations you want to force the use of an incompatible schema.

Viewing and Downloading Schemas used on a topic

Viewing a Schema

  1. Visit the schema page

  2. On the left column of the page, the schemas are grouped into namespaces with a folder icon. Click on a group to expand it.

    Browse Schema
  3. The content of the namespace is displayed on the right column.

  4. Click on the file to view the Schema. A view will open displaying the content of the Schema

  5. In case if multiple versions, click on the version number of the schema. You will be presented with the schema

Download schema

Click the Download Schema button to download the source schema (version). This enables you to bundle the schema with your application, e.g. for POJO generation in case of Java applications.