You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/27 11:22:24 UTC

[GitHub] [pulsar] bigbang489 opened a new issue #7674: [Java Client] Schema Registry enhancement for protobuf schema

bigbang489 opened a new issue #7674:
URL: https://github.com/apache/pulsar/issues/7674


   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
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] sijie commented on issue #7674: [Java Client] Schema Registry enhancement for protobuf schema

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #7674:
URL: https://github.com/apache/pulsar/issues/7674#issuecomment-664731884


   @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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui closed issue #7674: [Java Client] Schema Registry enhancement for protobuf schema

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #7674:
URL: https://github.com/apache/pulsar/issues/7674


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org