Skip to content

Commit 797bd15

Browse files
authored
RabbitMQ Cluster: make quorum default queue type (#1238)
Make sure that durable queues are quorum instead of classic (see rabbitmq/rabbitmq-server#14763). WARNING: this does not enforce queue type. Certain queue parameter may lead to a different type (e.g. exclusive queue are always classic) Related issue/s * #1232
1 parent e516559 commit 797bd15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

services/rabbit/configs/rabbitmq.conf.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ quorum_queue.initial_cluster_size = {{ RABBIT_QUORUM_QUEUE_DEFAULT_REPLICA_COUNT
2323
# https://www.rabbitmq.com/docs/networking#proxy-protocol
2424
# WARNING: this forces clients to use a proxy (direct access to nodes does not work)
2525
proxy_protocol = true
26+
27+
# Set the default queue type to quorum to benefit from RabbitMQ Cluster
28+
# (to be highly available by default). This does not enforce queue type though
29+
default_queue_type = quorum

0 commit comments

Comments
 (0)