pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

[Enhancement] Upgrade protobuf-java to v4.x

Open czheng-bt opened this issue 6 months ago • 2 comments

Search before reporting

  • [x] I searched in the issues and found nothing similar.

Motivation

protobuf-java contains braking changes, and since protobuf v26, protobuf-java v4.x is needed. Can this dependency get upgraded?

Solution

No response

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

czheng-bt avatar Jun 05 '25 17:06 czheng-bt

Could it break compatibility for old clients?

BewareMyPower avatar Jun 06 '25 07:06 BewareMyPower

protobuf-java contains braking changes, and since protobuf v26, protobuf-java v4.x is needed. Can this dependency get upgraded?

The protobuf-java version is decoupled from the Pulsar Java client with #23632 changes. You should be able to use a newer protobuf-java version if you wish. Have you tried doing that? @czheng-bt what is your use case?

lhotari avatar Jun 08 '25 18:06 lhotari

protobuf-java contains braking changes, and since protobuf v26, protobuf-java v4.x is needed. Can this dependency get upgraded?

The protobuf-java version is decoupled from the Pulsar Java client with #23632 changes. You should be able to use a newer protobuf-java version if you wish. Have you tried doing that? @czheng-bt what is your use case?

Closing since there hasn't been a response to the previous question.

lhotari avatar Jun 18 '25 16:06 lhotari