Anonymitaet commented on code in PR #544: URL: https://github.com/apache/pulsar-site/pull/544#discussion_r1184405918
########## docs/functions-runtime-process.md: ########## @@ -22,3 +22,37 @@ functionRuntimeFactoryConfigs: ``` For more details, see [code](https://github.com/apache/pulsar/blob/master/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/process/ProcessRuntimeFactoryConfig.java). + +### Set runtime parameter with configuration file + +Pulsar Functions now supports setting runtime parameters using a configuration file **in Python**. + +**Example** + +You can start a Python runtime using the configuration file `config.ini` with the following command. + +```shell +pulsar-admin functions localrun \ + --py /path/to/python_instance.py \ + --config-file /path/to/config.ini \ + --classname MyFunction \ + --logging_leve debug \ Review Comment: Oops! Thank you! -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
