Managing Schemas

Upload Schema

  1. Click on the schema Upload icon.

  2. Upload the schema as a text file (avsc format).

  3. Add the version for the schema

  4. If you are uploading the first version of this schema you also need to provide a description.

  5. Any authenticated user can upload a schema for their tenant.

Schema 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:

Duplicate schema

Uploaded schemas should be the same as used in the Producer/Consumer application. If you use a plugin such as the avro-maven-plugin for schema maintenance, make sure to upload the schema from the generated source files.

Working with .NET Schemas

Due to a limitation in our platform you will need to register another schema in the Self-Service portal to make the .NET client work with the platform.

To achieve that, you need to do the following:

  1. Download the .NET Avro Schema Parser Tool

  2. Make sure your avsc file is fully resolved, i.e., it does not reference other files or types but embeds the content directly

  3. Run the following command

    dotnet AvroSchemaParser.dll [avsc FILE PATH] > [OUTPUT PATH].avsc
  4. Upload the new schema.