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

Support Protobuf v4 #5357

Open
mkaufmaner opened this issue Oct 17, 2024 · 1 comment
Open

Support Protobuf v4 #5357

mkaufmaner opened this issue Oct 17, 2024 · 1 comment

Comments

@mkaufmaner
Copy link

mkaufmaner commented Oct 17, 2024

Feature or Problem Description

Currently, protouf v4 generated classes are not compatible with Apircurio libraries. Recent releases of libraries with protobuf dependencies like cel.dev and protovalidate use protobuf v4 and the Apicurio libraries fails to add them to the registry because protouf v4 is not compatible.

Proposed Solution

Upgrade to protobuf-java dependencies to v4.

Protobuf compatibility shims have been released in protobuf-java v4 for <=v3.x.x generated code built against v3.x.x prior to v4.26.0 breaking release.

Binary compatibility shims for GeneratedMessageV3, SingleFieldBuilderV3, RepeatedFieldBuilderV3, and their nested classes to restore binary compatibility with <=v3.x.x generated code built against v3.x.x prior to v4.26.0 breaking release. (protocolbuffers/protobuf@6bf01c5)

This will benefit the Apicurio by growing the user base since Confluent's schema registry does NOT support protobuf v4.

See https://docs.confluent.io/platform/current/schema-registry/fundamentals/serdes-develop/serdes-protobuf.html#limitations-and-developer-notes

The Confluent kafka-protobuf-serializer works with Google Protobuf v.3. Google Protobuf v.4 is currently not supported.

Additional Context

@apicurio-bot
Copy link

apicurio-bot bot commented Oct 17, 2024

Thank you for reporting an issue!

Pinging @jsenko to respond or triage.

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

No branches or pull requests

2 participants