Skip to content

Commit 90acdd9

Browse files
authored
feat: updated readme to remove classic queue options (#39)
1 parent bcbc29a commit 90acdd9

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

rabbitmq-cluster/README.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,7 @@ Depending on the Queue type you can set different policy definitions. To set a d
6565

6666
```
6767
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
7869
pattern: .*
7970
definition:
8071
dead-letter-exchange: cc
@@ -94,31 +85,19 @@ policies:
9485
| `dead-letter-routing-key` | The routing keys (including CC keys but excluding BCC ones) the message was published with. | `string` |
9586
| `message-ttl` | How long a message published to a queue can live before it is discarded (milliseconds). | `number` |
9687
| `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` |
97-
98-
##### Queues [Classic]
99-
| Name | Description | Value |
100-
|------------------|----------------------------------------------------------------------------------------------------------------|-----------------|
101-
| `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[]` |
103-
| `ha-sync-mode` | [manual, automatic] | `[manual, automatic]` |
104-
| `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]` |
10889

10990
##### Queues [Quorum]
11091
| Name | Description | Value |
11192
|------------------|----------------------------------------------------------------------------------------------------------------|-----------------|
11293
| `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` |
11394
| `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]` |
11595

11696
##### Streams
11797
| Name | Description | Value |
11898
|------------------|----------------------------------------------------------------------------------------------------------------|-----------------|
11999
| `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` |
120100
| `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]` |
122101

123102
##### Exchanges
124103
| Name | Description | Value |

0 commit comments

Comments
 (0)