sijie commented on a change in pull request #4093: [issue#4042] improve java 
functions API
URL: https://github.com/apache/pulsar/pull/4093#discussion_r277236654
 
 

 ##########
 File path: 
pulsar-functions/api-java/src/main/java/org/apache/pulsar/functions/api/Context.java
 ##########
 @@ -265,4 +269,5 @@
      */
     <O> CompletableFuture<Void> publish(String topicName, O object, String 
schemaOrSerdeClassName, Map<String, Object> messageConf);
 
 Review comment:
   Can you add `@Deprecated in favor of using {@link #newOutputMessage}` to all 
the context publish methods?

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