Update rabbitMQ.md prefetch feature doc. (#779)

Co-authored-by: Yaron Schneider <yaronsc@microsoft.com>
This commit is contained in:
AbserAri 2020-09-25 06:04:36 +08:00 committed by GitHub
parent cd29553d7b
commit 4b3f3a8c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@ spec:
value: false
- name: ttlInSeconds
value: 60
- name: prefetchCount
value: 0
```
- `queueName` is the RabbitMQ queue name.
@ -26,6 +28,7 @@ spec:
- `durable` tells RabbitMQ to persist message in storage.
- `deleteWhenUnused` enables or disables auto-delete.
- `ttlInSeconds` is an optional parameter to set the [default message time to live at RabbitMQ queue level](https://www.rabbitmq.com/ttl.html). If this parameter is omitted, messages won't expire, continuing to exist on the queue until processed.
- `prefetchCount` is an optional parameter to set the [Channel Prefetch Setting (QoS)](https://www.rabbitmq.com/confirms.html#channel-qos-prefetch). If this parameter is omiited, QoS would set value to 0 as no limit.
> **Note:** In production never place passwords or secrets within Dapr components. For information on securely storing and retrieving secrets refer to [Setup Secret Store](../../../howto/setup-secret-store)