sijie commented on a change in pull request #2570: Fix BC issue in functions 
trigger function submitted by old CLI
URL: https://github.com/apache/incubator-pulsar/pull/2570#discussion_r217553912
 
 

 ##########
 File path: 
pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/FunctionsImpl.java
 ##########
 @@ -595,16 +594,23 @@ public Response triggerFunction(final String tenant, 
final String namespace, fin
         String inputTopicToWrite;
         if (topic != null) {
             inputTopicToWrite = topic;
+        } else if 
(functionMetaData.getFunctionDetails().getSource().getTopicsToSerDeClassNameMap().size()
 == 1) {
 
 Review comment:
   changed to normalizing the function metadata

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