nlu90 commented on issue #6348: [Issue 6170][functions] add custom property option to functions URL: https://github.com/apache/pulsar/pull/6348#issuecomment-588028251 @sijie @KannarFr Now you can submit a function with the following yaml file: ```yaml jar: ./pulsar-functions/java-examples/target/pulsar-functions-api-examples.jar className: org.apache.pulsar.functions.api.examples.ExclamationFunction tenant: public namespace: default name: exclamation inputs: - persistent://public/default/my-topic output: persistent://public/default/exclamation customRuntimeOptions: "-Dprop1=${MY_PROP1} -Dprop2=${MY_PROP2}" ``` One more question is currently if fetch function info with the cli, it will show the actual value of `${MY_PROP1}` and `${MY_PROP2}`, is this expected? Or should we hide the actual value in the cli result?
---------------------------------------------------------------- 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
