sijie opened a new pull request #2570: Fix BC issue in functions trigger 
function submitted by old CLI
URL: https://github.com/apache/incubator-pulsar/pull/2570
 
 
   *Motivation*
   
   A BC issue was introduced by #2501. If a function is submitted by old CLI, 
which only containers topics to serde map.
   The new function worker will fail trigger request because it can't find 
input specs.
   
   ```
   17:28:32.105 [function-web-7-9] ERROR 
org.apache.pulsar.functions.worker.rest.api.FunctionsImpl - Function in trigger 
function has more than 1 input topics @ /public/default/ex
   ```
   
   *Changes*
   
   The functions worker should handle BC.
   
   *Tests*
   
   No tests are added here. Since it requires a BC testing framework to be able 
to submit a function to a new functions worker by old CLI.
   
   Created #2569 for adding a BC testing framework to cover such BC issues.
   
   

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