You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rabbitmq-cluster/README.md
+2-23Lines changed: 2 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,16 +65,7 @@ Depending on the Queue type you can set different policy definitions. To set a d
65
65
66
66
```
67
67
policies:
68
-
- name: "my-policy1"
69
-
pattern: ".*"
70
-
definition:
71
-
dead-letter-exchange: "cc"
72
-
ha-mode: "all"
73
-
spec:
74
-
applyTo: "classic_queues"
75
-
priority: 1
76
-
vhost: "/"
77
-
- name: my-policy2
68
+
- name: my-policy1
78
69
pattern: .*
79
70
definition:
80
71
dead-letter-exchange: cc
@@ -94,31 +85,19 @@ policies:
94
85
|`dead-letter-routing-key`| The routing keys (including CC keys but excluding BCC ones) the message was published with. |`string`|
95
86
|`message-ttl`| How long a message published to a queue can live before it is discarded (milliseconds). |`number`|
96
87
|`consumer-timeout`| If a consumer does not ack its delivery for more than the timeout value (30 minutes by default), its channel will be closed with a PRECONDITION_FAILED channel exception. |`number`|
|`ha-mode`| One of all (mirror to all nodes in the cluster), exactly (mirror to a set number of nodes) or nodes (mirror to an explicit list of nodes). If you choose one of the latter two, you must also set ha-params. |`[all, exactly, nodes]`|
102
-
|`ha-params`| Absent if ha-mode is all, a number if ha-mode is exactly, or a list of strings if ha-mode is nodes. | `number | string[]` |
|`ha-promote-on-shutdown`| Provides an option to promote a node containing the queue as the master queue node. Is triggered when the node is shutdown gracefully. |`[when-synced, always]`|
105
-
|`ha-promote-on-failure`| Provides an option to promote a node containing the queue as the master queue node. Is triggered when the node fails |`[when-synced, always]`|
106
-
|`queue-version`| Set the queue version. Defaults to version 1. Version 1 has a journal-based index that embeds small messages. Version 2 has a different index which improves memory usage and performance in many scenarios, as well as a per-queue store for messages that were previously embedded. |`number`|
107
-
|`queue-master-locator`| The master queue node is automatically assigned using the rabbitmq node with less masters. `Min-masters`: Selects the master node as the one with the least running master queues. `Client-local`: Selects the queue master node as the local node on which the queue is being declared. `Random`: Selects the queue master node based on random selection. |`[min-masters, client-local, random]`|
88
+
|`queue-leader-locator`| Set the rule by which the queue leader is located when declared on a cluster of nodes. Valid values are client-local (default) and balanced. |`[client-local, balanced]`|
|`delivery-limit`| The number of allowed unsuccessful delivery attempts. Once a message has been delivered unsuccessfully more than this many times it will be dropped or dead-lettered, depending on the queue configuration. |`number`|
113
94
|`dead-letter-strategy`| Valid values are at-most-once or at-least-once. It defaults to at-most-once. This setting is understood only by quorum queues. If at-least-once is set, Overflow behaviour must be set to reject-publish. Otherwise, dead letter strategy will fall back to at-most-once. |`[at-most-once, at-least-once]`|
114
-
|`queue-leader-locator`| Set the rule by which the queue leader is located when declared on a cluster of nodes. Valid values are client-local (default) and balanced. |`[client-local, balanced]`|
|`max-age`| Use a number + letter to set the data retention, (Y=Years, M=Months, D=Days, h=hours, m=minutes, s=seconds), Ex: 1h = configures the stream to only keep the last 1 hour of received messages |`string`|
120
100
|`stream-max-segment-size-bytes`| Total segment size for stream segments on disk. |`number`|
121
-
|`queue-leader-locator`| Set the rule by which the queue leader is located when declared on a cluster of nodes. Valid values are client-local (default) and balanced. |`[client-local, balanced]`|
0 commit comments