Skip to content

Commit 7fb0260

Browse files
committed
Say that queueName isn't needed
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent ae8fd8d commit 7fb0260

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_posts/2025-07-29-queue-based-scaling.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ In the main chart, the `jetstreamQueueWorker.durableName` field is no longer use
226226

227227
If you have dedicated queue-workers deployed, you will need to update them using the separate queue-worker Helm chart.
228228

229-
A new field is introduced called `queueName` in values.yaml, the default value is `faas-request`, so make sure you override it with the name that you are using in the `com.openfaas.queue` annotation.
229+
A new field is introduced called `queueName` in values.yaml, the default value is not set. When it is not set, the queue will take the name of the stream.
230230

231231
So if you had an annotation of `com.openfaas.queue=slow-fns`, you would set the `queueName` like this in values.yaml:
232232

@@ -236,12 +236,14 @@ maxInflight: 5
236236
mode: static
237237
nats:
238238
stream:
239-
name: slow-fns-requests
239+
name: slow-fns
240240
consumer:
241241
durableName: slow-fns-workers
242242
upstreamTimeout: 15m
243243
```
244244

245+
Alternatively, you can leave `queueName` as empty, or not set it at all, and the name will be taken from `nats.stream.name`.
246+
245247
The top level setting `durableName` has now been removed.
246248

247249
You can read more in the [README](https://github.com/openfaas/faas-netes/blob/master/chart/queue-worker/README.md) for the queue-worker chart.

0 commit comments

Comments
 (0)