nlu90 edited a comment on issue #6348: [Issue 6170][functions] add custom property option to functions URL: https://github.com/apache/pulsar/pull/6348#issuecomment-587931582 Hi @KannarFr, Just want to confirm if the following solution meet your needs (Notice the last line of `customRuntimeOptions`): ```yaml tenant: "test" namespace: "test-namespace" name: "example" className: "org.apache.pulsar.functions.api.examples.ExclamationFunction" inputs: ["test_src"] userConfig: "PublishTopic": "test_result" output: "test_result" autoAck: true parallelism: 1 customRuntimeOptions: "-DmyProp=${MY_PROP} -Dother_option=other_value" ``` and when you create function with this yaml file, the variable `${MY_PROP}` will be automatically replaced with the actual system property value. Let me know your thoughts.
---------------------------------------------------------------- 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
