Skip to content

Commit 167df85

Browse files
authored
Merge branch 'v1.5' into v1.5
2 parents 81ed7cf + f7ae951 commit 167df85

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

daprdocs/content/en/reference/components-reference/supported-pubsub/setup-rabbitmq.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ spec:
4343
value: "100"
4444
- name: backOffMaxRetries
4545
value: "16"
46+
- name: enableDeadLetter # Optional enable dead Letter or not
47+
value: "true"
48+
- name: maxLen # Optional max message count in a queue
49+
value: "3000"
50+
- name: maxLenBytes # Optional maximum length in bytes of a queue.
51+
value: "10485760"
4652
```
4753
{{% alert title="Warning" color="warning" %}}
4854
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described [here]({{< ref component-secrets.md >}}).
@@ -69,6 +75,9 @@ The above example uses secrets as plain strings. It is recommended to use a secr
6975
| backOffRandomizationFactor | N | Randomization factor, between 1 and 0, including 0 but not 1. Randomized interval = RetryInterval * (1 ± backOffRandomizationFactor). Defaults to `"0.5"`. | `"0.5"` |
7076
| backOffMultiplier | N | Backoff multiplier for the policy. Increments the interval by multiplying it with the multiplier. Defaults to `"1.5"` | `"1.5"` |
7177
| backOffMaxElapsedTime | N | After MaxElapsedTime the ExponentialBackOff returns Stop. There are two valid formats, one is the fraction with a unit suffix format, and the other is the pure digital format that will be processed as milliseconds. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Defaults to `"15m"` | `"15m"` |
78+
| enableDeadLetter | N | Enable forwarding Messages that cannot be handled to a dead-letter topic. Defaults to `"false"` | `"true"`, `"false"` |
79+
| maxLen | N | The maximum number of messages of a queue and its dead letter queue (if dead letter enabled). If both `maxLen` and `maxLenBytes` are set then both will apply; whichever limit is hit first will be enforced. Defaults to no limit. | `"1000"` |
80+
| maxLenBytes | N | Maximum length in bytes of a queue and its dead letter queue (if dead letter enabled). If both `maxLen` and `maxLenBytes` are set then both will apply; whichever limit is hit first will be enforced. Defaults to no limit. | `"1048576"` |
7281

7382

7483
### Backoff policy introduction

0 commit comments

Comments
 (0)