Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dremlin2000 opened this issue Jan 24, 2025 · 0 comments

Comments

@dremlin2000
Copy link

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.

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

No branches or pull requests

2 participants