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

fix: Roll back incompatible Protobuf version 4.x #365

Merged
merged 1 commit into from
May 8, 2024

Conversation

VonDerBeck
Copy link
Contributor

@VonDerBeck VonDerBeck commented May 8, 2024

Description

Thanks a lot for updating this exporter especially with the important UserTask events and all the other Zeebe 8.5 details. I really appreciate that 👍

Sadly the upgrade to google-protobuf version 4.x causes incompatibilities with the older 3.x version included in the current 8.5.1 versions of zeebe-client-java, zeebe-gateway-protocol-impl, etc. I get exceptions like java.lang.NoClassDefFoundError: com/google/protobuf/GeneratedMessageV3

Is there a specific reason to use the newer protobuf version? I think this should stay in sync with the major version used in all other parts of Zeebe.

If rolling back this dependency version is no option for you - is it possible to build a special protobuf-3.x version of the protobuf-exporter in parallel?

If you're fine with the changes: this PR just rolls back the protobuf library version to 3.x. and leaves everything else as required for Camunda 8.5. It would be great to publish this as version 1.6.1 of zeebe-exporter-protobuf

closes #366

Copy link
Contributor

@saig0 saig0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VonDerBeck thank you for fixing the compatibility issue. 🎉

Let's postpone the Protobuf update until Camunda is on the same version. 👍

I'll build a patch release after merging. 🏗️

@saig0 saig0 merged commit a863006 into main May 8, 2024
3 checks passed
@saig0 saig0 deleted the rollback-to-protobuf-version-3.25.3 branch May 8, 2024 12:55
@saig0 saig0 changed the title Roll back incompatible google protobuf version 4.x fix: Roll back incompatible Protobuf version 4.x May 8, 2024
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

Successfully merging this pull request may close these issues.

Update to protobuf version 4.x is not compatible with older 3.x version used in other parts of Zeebe
2 participants