merlimat opened a new pull request #2266: Integrate functions and io with 
schema registry
URL: https://github.com/apache/incubator-pulsar/pull/2266
 
 
   ### Motivation
   
   Integrate schema registry to simplify usage of Pulsar function and have 
end-to-end type safety in the API with server-side validation.
   
   ### Modifications
   
    * When submitting a function, one can specify the schema type 
    * It's still possible to pass a custom `Schema` implementation, if desided
    * For compatibility, it's still possible to pass a `SerDe` implementation
    * `DefaultSerDe` was removed. When schema/serde is not specified, the 
following applies: 
       - Try to infer schema type from the schema registry
       - If the topic doesn't exist, fallback to default schemas, which would 
be: 
           - `Schema.STRING` for a `String` arg
           - `Schema.BYTES` for a `byte[]` arg
           - `Schema.PROTOBUF` for a protobuf arg
           - `Schema.JSON` for any other type

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