sijie opened a new issue #3742: AvroSchema should be constructing using writer 
schema and reader schema
URL: https://github.com/apache/pulsar/issues/3742
 
 
   **Is your feature request related to a problem? Please describe.**
   
   Currently POJO Avro Schema is using one schema for both its writer schema 
and reader schema. This implementation doesn't work well with BC story.
   
   A better approach is:
   
   for producer: we should use the user supplied schema as writer schema, and 
use the schema stored at broker as reader schema to construct the AvroSchema. 
In this way, Avro can do the BC at client side to make sure the produced 
message is compatible with broker side.
   
   for consumer: we should use the user supplied schema as reader schema, and 
use the schema stored at broker as writer schema to construct AvroSchema.
   
   **Describe the solution you'd like**
   
   The solution is described above as `a better approach`.
   
   **Describe alternatives you've considered**
   
   N/A
   
   **Additional context**
   
   N/A

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


With regards,
Apache Git Services

Reply via email to