You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/03/30 16:59:53 UTC
[GitHub] [pulsar] eolivelli commented on pull request #9343: Issue 9004: Pulsar Schema API: provide Type information for Fields
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:
users@infra.apache.org