Skip to content

MockSchemaRegistryClient only supports Avro schema provider by default #3522

Open
@mcpheesvoz

Description

MockSchemaRegistryClient should by default support the three main schema types, instead of only Avro:

    this.providers = providers != null && !providers.isEmpty()
                     ? providers.stream().collect(Collectors.toMap(p -> p.schemaType(), p -> p))
                     : Collections.singletonMap(AvroSchema.TYPE, new AvroSchemaProvider());

When your schema is configured with properties / or spring application.yml it's impossible to override this current;y

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions