openfaas / nats-queue-worker

Queue-worker for OpenFaaS with NATS Streaming
https://docs.openfaas.com/reference/async/
MIT License
128 stars 59 forks source link

Support customising the NATS Streaming channel and queue group. #79

Closed bmcustodio closed 4 years ago

bmcustodio commented 4 years ago

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:

alexellis commented 4 years ago

Please could you rebase? After your other PR was merged this needs an update.

bmcustodio commented 4 years ago

@alexellis rebased!

alexellis commented 4 years ago

Thanks

alexellis commented 4 years ago

FYI https://github.com/openfaas/nats-queue-worker/releases/tag/0.9.0