This PR adds support for customising the NATS Streaming channel and queue group used for asynchronous invocations, as per https://github.com/openfaas/faas/issues/1399, in a backwards-compatible way.
Motivation and Context
[x] I have raised an issue to propose this change (required)
Description
This PR adds support for customising the NATS Streaming channel and queue group used for asynchronous invocations, as per https://github.com/openfaas/faas/issues/1399, in a backwards-compatible way.
Motivation and Context
https://github.com/openfaas/faas/issues/1399
How Has This Been Tested?
By running the included unit tests, which is enough in this case IMHO. There's also
bmcstdio/openfaas-nats-queue-worker:pr-79
, just in case.Types of changes
Checklist:
git commit -s