jerrypeng opened a new pull request #2197: unshade avro in pulsar-client-schema
URL: https://github.com/apache/incubator-pulsar/pull/2197
 
 
   ### Motivation
   
   If users want to use Avro annotations with their POJOs, currently they would 
have to use the our shaded version of avro because we shade avro which is not 
the best user experience.  Ideally they should just use the original avro 
annotations
   
   For example users want to something like this:
   @org.apache.avro.reflect.AvroSchema(“{ \“type\“: \“long\“, \“logicalType\“: 
\“timestamp-millis\” }“)
          private long date;
   
   but since we shade avro the user would need to specify like this:
   @org.apache.pulsar.shade.org.apache.avro.reflect.AvroSchema(“{ \“type\“: 
\“long\“, \“logicalType\“: \“timestamp-millis\” }“)
          private long date;
   
   ### Modifications
   Unshade avro in pulsar-client-schema
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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