[GitHub] [pulsar] sijie commented on pull request #9895: Implement Schema#OBJECT - support for Consumer

Tue, 16 Mar 2021 22:52:48 -0700


sijie commented on pull request #9895:
URL: https://github.com/apache/pulsar/pull/9895#issuecomment-800815707


   Why not return a PrimitiveRecord that implements a `GenericRecord` interface?
   
   `getSchemaType` will give you the right schema type and `getNativeRecord` 
will give you the right underlying object. So a lot of logic that already deal 
with AUTO_SCHEMA would almost just work. We don't need to worry about there is 
another `AUTO_CONSUME`.


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