fix review

This commit is contained in:
zhangchao 2021-10-29 09:23:13 +08:00
parent 70874e1e08
commit ee1a42b745
1 changed files with 8 additions and 2 deletions

View File

@ -43,6 +43,12 @@ spec:
value: "100"
- name: backOffMaxRetries
value: "16"
- name: enableDeadLetter # Optional enable dead Letter or not
value: "true"
- name: maxLen # Optional max message count in a queue
value: "3000"
- name: maxLenBytes # Optional maximum length in bytes of a queue.
value: "10485760"
```
{{% alert title="Warning" color="warning" %}}
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 >}}).
@ -70,8 +76,8 @@ The above example uses secrets as plain strings. It is recommended to use a secr
| backOffMultiplier | N | Backoff multiplier for the policy. Increments the interval by multiplying it with the multiplier. Defaults to `"1.5"` | `"1.5"` |
| 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"` |
| enableDeadLetter | N | Enable forwarding Messages that cannot be handled to a dead-letter topic. Defaults to `"false"` | `"true"`, `"false"` |
| maxLen | N | The maximum number of messages of a queue. If both `maxLen` and `maxLenBytes` are set then both will apply; whichever limit is hit first will be enforced. Defaults to no limit | `"1000"` |
| maxLenBytes | N | Maximum length in bytes of a queue. If both `maxLen` and `maxLenBytes` are set then both will apply; whichever limit is hit first will be enforced. Defaults to no limit. | `"1048576"` |
| maxLen | N | The maximum number of messages of a queue and its dead letter queue(if dead leter 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"` |
| maxLenBytes | N | Maximum length in bytes of a queue and its dead letter queue(if dead leter 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"` |
### Backoff policy introduction