Skip to content

Support for protobuf gencode v4.x #25202

@ngale1234

Description

@ngale1234

Search before reporting

  • I searched in the issues and found nothing similar.

Motivation

Pulsar's protobuf schema options are dependent on GeneratedMessageV3, which is deprecated and will be fully removed in version 5.x of the runtimes. Gencode >v4.x creates classes that extend GeneratedMessage instead, meaning anyone using the protobuf schema options are currently locked out of updating their gencode past v3.x, which will cease getting new updates this year.

If there is already an option I'm unaware of that enables the use of the newer gencode, please let me know.

Marking this as not similar to #24388 as that only discusses a solution for the runtime upgrade and not the gencode.

Thank you in advance!

Solution

Add a topic schema option that supports GeneratedMessage as a type

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions