Skip to content

[Java Client] Schema Registry enhancement for protobuf schema #7674

Closed

Description

@bigbang489

We are trying to encode/decode protobuf messages from/to json and we don't have the .class files of protobuf message, there is no way for us to achieve that, because, as my knowledge, we have to have a descriptor file to be able to encode/decode protobuf messages, but the schema registry only store json schema of protobuf message.

Suggested Solution
Whenever a producer upload a new schema to a topic, it should also attach the protobuf descriptor file content in schema properties. With the descriptor is attached in schema registry, the client will be able to encode/decode Protobuf binary data correctly

Activity

  1. added
    type/enhancement
    on Jul 27, 2020
  2. sijie commented on Jul 28, 2020

    @sijie
    Member

    @bigbang489 I think this task is related to #7642. @hnail is working on a proposal for improving Protobuf schema. I am linking these two issues together for references.

  3. added a commit that references this issue on Nov 17, 2020
    c01b1ee
  4. added a commit that references this issue on Nov 17, 2020
    011a9f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions