Skip to content

Confluent.SchemaRegistry.Serdes.Json JsonSerializer does not support latest schema spec Draft 2020-12 #2404

Open
@dremlin2000

Description

@dremlin2000

Hi All,

I have a problem related to JsonSerializer which generates only Draft 04 schema when validates messages against schema registry as it is shown in this sample.

In my case I already have Draft 2020-12 Json schema registered in the schema register and need to validate messages against the latest already created schema. I do not need to create any new schemas on fly in the schema register on fly so I pass the following

var jsonSerializerConfig = new JsoinSerializerConfig
{
  AutoRegisterSchemas = false
}

In this case I receive an error Schema not found; error code: 40403.

I tend to believe that it is beacuse NJsonSchema does not support latest schema spec versions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions