This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Validations

Learn how to use the built-in validations provided by the extensions for Schema Registry.

    Jikkou ships with the following built-in validations:

    Subject

    SchemaCompatibilityValidation

    type = io.streamthoughts.jikkou.schema.registry.validation.SchemaCompatibilityValidation
    

    The SchemaCompatibilityValidation allows testing the compatibility of the schema with the latest version already registered in the Schema Registry using the provided compatibility-level.

    AvroSchemaValidation

    The AvroSchemaValidation allows checking if the specified Avro schema matches some specific avro schema definition rules;

    type = io.streamthoughts.jikkou.schema.registry.validation.AvroSchemaValidation
    

    Configuration

    NameTypeDescriptionDefault
    fieldsMustHaveDocBooleanVerify that all record fields have a doc propertyfalse
    fieldsMustBeNullableBooleanVerify that all record fields are nullablefalse
    fieldsMustBeOptionalBooleanVerify that all record fields are optionalfalse