Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[go function] fix: go function should parse conf content first (apach…
…e#4746) ### Motivation `pulsar-function-go/conf` package apply `instance-conf-path` with default value `HOME_PATH+github.com/apache/pulsar/pulsar-function-go/conf/conf.yaml`, once function deployed, the running node may not have the yaml conf file exist, then go function will panic with `not found conf file` error. This PR changed the logic of config parsing, parse `confContent` first, then parse `confFilePath` if `confContent` empty.
- Loading branch information