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

JSON messages produced to protobuf topics fail after evolution #1260

Open
noahseger opened this issue Mar 20, 2024 · 1 comment
Open

JSON messages produced to protobuf topics fail after evolution #1260

noahseger opened this issue Mar 20, 2024 · 1 comment

Comments

@noahseger
Copy link

This is actually a problem with the schema utils not allowing or default to ignoringUnknownFields:
https://github.com/confluentinc/schema-registry/blob/20a98f3c4af1ffd804d8e41a2f274d48b1418b97/protobuf-provider/src/main/java/io/confluent/kafka/schemaregistry/protobuf/ProtobufSchemaUtils.java#L103-L108

What we expect: When producing protobufs as JSON with new (compatible) fields to Kafka, those fields are ignored before the latest registered schema is evolved to include them

What happens: Bad Request: Cannot find field: XXX in message

@noahseger
Copy link
Author

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

No branches or pull requests

1 participant