codelipenghui commented on pull request #9481:
URL: https://github.com/apache/pulsar/pull/9481#issuecomment-779885238


   @sijie Thanks for the comment. If I understand correctly, the approach is 
using the AUTO_CONSUME schema and the PIP-43 to achieve this purpose. 
Previously, we always use the AUTO_CONSUME schema for a consumer. Essentially, 
the AUTO_CONSUME schema is a Generic Schema that works with GenericRecord, 
encode a GenericRecord to byte[] and decode byte[] to GenericRecord. So we 
don't need to change the existing implementation, we can use the AUTO_CONSUME 
schema for a producer too to allow the producer able to publish GenericRecord.
   
   And with PIP-45, the message carries the real schema. So that we are able to 
publish GenericRecord with different version schemas.
   
   Please point out if I am wrong, thanks. 
   
   


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