NATS streaming cluster id missing override environment variable
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 26.2k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
Description
There is no way to change the name of the nats cluster id used for asynchronous invocation. Currently it expects the cluster id to be faas-cluster.
Note that the queue-worker does allow the cluster id to be overridden https://github.com/openfaas/nats-queue-worker/blob/dea1c90b8cc66dc73597b7531a4fd29a32b5f88c/readconfig.go#L42
Proposal
Add environment override to gateway default it to faas-cluster
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the gateway configuration and compare its cluster ID handling with readconfig.go in nats-queue-worker, which the issue links. Add a gateway environment override that defaults to faas-cluster, then verify the gateway uses the configured cluster ID for asynchronous invocation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100