jerrypeng commented on pull request #9987:
URL: https://github.com/apache/pulsar/pull/9987#issuecomment-804617478
@devinbost in WorkerConfig, we can add a new field call
defaultFunctionConfig/defaultSourceConfig/defaultSinkConfig or
defaultFunctionConfigFile/defaultSourceConfigFile/defaultSinkConfigFile if we
just want to point to a separate file.
In the worker config could look something like
```
workerId: standalone
workerHostname: localhost
...
defaultFunctionConfig:
producerConfig:
maxPendingMessages: 100
enableBatching: true
```
On registering the function, we merge the user provided function config with
the default function config.
--
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]