eolivelli opened a new pull request #10476:
URL: https://github.com/apache/pulsar/pull/10476


   This is the implementation for PIP-85
   
https://docs.google.com/document/d/1VWi5LHP44V31nP4bCui9d5RXwH6xc_phrUes6tvNguk/
   
   - rename MessageImpl and TopicMessageImpl `getSchema` to `getSchemaInternal`
   - introduce Optional<Schema<?>> Message.getSchema()
   - introduce Schema.atSchemaVersion, that allows to get a Schema at a 
specific "version", this is needed for AutoConsumeSchema
   
   The schema returned by Message.getSchema has these properties:
   - SchemaInfo it what is stored on the Registry
   - getNativeSchema returns the original AVRO Schema as expected
   - it can be used for "decoding" payloads
   - it cannot be used for "encoding" payloads


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