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:
[email protected]


Reply via email to