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

 ##########
 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);
 
+    <O> TypedMessageBuilder<O> newOutputMessage(String topicName, Schema<O> 
schema) throws PulsarClientException;
 
 Review comment:
   @wolfstudy Can you add javadoc comment?

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