sijie commented on issue #3741: POJO AvroSchema always allowNull
URL: https://github.com/apache/pulsar/issues/3741#issuecomment-469215115
 
 
   @jerrypeng 
   
   the main problem of this is : if we are serializing POJO into avro formats, 
it should be respecting to how AVRO generates schema for POJOs. Otherwise, if 
you are migrating other AVRO data from other data sources to Pulsar, or from 
Pulsar to other data destinations, it will raise schema incompatibility issue. 
Because Pulsar schema generated schema always allow null, while the schema 
generated by other systems don't allow null, even they are generated from same 
POJO. 
   
   AVRO is a pretty standard data format. If pulsar is using AVRO schema, we 
should respect to its rules, otherwise it is impossible for pulsar to be used 
for exchanging AVRO data.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to