eolivelli commented on pull request #9343:
URL: https://github.com/apache/pulsar/pull/9343#issuecomment-810424070


   @vroyer 
   we went down the path of adding `GenericObject#getNativeObject` (formerly 
GenericRecord#getNativeRecord) in order to let the user deal with AVRO directly.
   
   the problem, raised by @sijie , is that we would have to maintain the 
mapping between our "general purpose" Schema API and Avro, Protobuf and all of 
the future technologies that we want to support.
   
   Avro and Protobuf are very different, and the API that we can create will be 
only an approximation and it won't be able to represent all of the internal 
features of such libraries, in other words, advanced users will not be able to 
use Pulsar.
   
   


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