jerrypeng commented on issue #4110: Function should support `Message<T>`
URL: https://github.com/apache/pulsar/issues/4110#issuecomment-485941580
 
 
   @sijie aren't we using the Context object to expose these items?
   
   More specifically:
   
   ```
   public Record<?> getCurrentRecord() {
           return record;
       }
   ```
   
   Which will return a PulsarRecord
   
   
https://github.com/apache/pulsar/blob/master/pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/source/PulsarRecord.java
   
   that contains the information about the input message

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