You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/09/13 22:30:22 UTC

[GitHub] sijie commented on a change in pull request #2570: Fix BC issue in functions trigger function submitted by old CLI

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:
users@infra.apache.org


With regards,
Apache Git Services