sijie commented on issue #4127: [Issue#4110] [component/functions] Adding 
message as source or input of Function
URL: https://github.com/apache/pulsar/pull/4127#issuecomment-488078983
 
 
   If we are going to support publishing Messages in function or retrieving a 
Message instance (for accessing the full list of metadata associated with a 
message), we have to include pulsar-client-api as an dependency of 
pulsar-function-api. So my vote here will just add the dependency for both 
#4127 and #4042 . 
   
   For 4127, I still don't think casting is a good approach. If a record can be 
a non-pulsar-message record (because we used same abstraction for source 
connectors), my vote here will be providing the support  of using `Message<T>` 
as the generic type for Function Input Type, hence users don't have to cast.

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


With regards,
Apache Git Services

Reply via email to