diff --git a/manifests/init.pp b/manifests/init.pp index b958155..745c9ab 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -72,6 +72,10 @@ # (Optional) Use quorum queues in RabbitMQ. # Defaults to $facts['os_service_default'] # +# [*rabbit_transient_quorum_queue*] +# (Optional) Use quorum queues for transients queues in RabbitMQ. +# Defaults to $facts['os_service_default'] +# # [*rabbit_quorum_delivery_limit*] # (Optional) Each time a message is rdelivered to a consumer, a counter is # incremented. Once the redelivery count exceeds the delivery limit @@ -207,6 +211,7 @@ class magnum( $rabbit_heartbeat_rate = $facts['os_service_default'], $rabbit_heartbeat_in_pthread = $facts['os_service_default'], $rabbit_quorum_queue = $facts['os_service_default'], + $rabbit_transient_quorum_queue = $facts['os_service_default'], $rabbit_quorum_delivery_limit = $facts['os_service_default'], $rabbit_quorum_max_memory_length = $facts['os_service_default'], $rabbit_quorum_max_memory_bytes = $facts['os_service_default'], @@ -267,6 +272,7 @@ class magnum( amqp_durable_queues => $amqp_durable_queues, kombu_compression => $kombu_compression, rabbit_quorum_queue => $rabbit_quorum_queue, + rabbit_transient_quorum_queue => $rabbit_transient_quorum_queue, rabbit_quorum_delivery_limit => $rabbit_quorum_delivery_limit, rabbit_quorum_max_memory_length => $rabbit_quorum_max_memory_length, rabbit_quorum_max_memory_bytes => $rabbit_quorum_max_memory_bytes, diff --git a/releasenotes/notes/rabbit_transient_quorum_queue-c7cb741127fd6202.yaml b/releasenotes/notes/rabbit_transient_quorum_queue-c7cb741127fd6202.yaml new file mode 100644 index 0000000..932f91f --- /dev/null +++ b/releasenotes/notes/rabbit_transient_quorum_queue-c7cb741127fd6202.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + The new ``magnum::rabbit_transient_quorum_queue`` parameter has been added. diff --git a/spec/classes/magnum_init_spec.rb b/spec/classes/magnum_init_spec.rb index 3495db3..1bf6356 100644 --- a/spec/classes/magnum_init_spec.rb +++ b/spec/classes/magnum_init_spec.rb @@ -46,6 +46,7 @@ describe 'magnum' do :amqp_durable_queues => '', :kombu_compression => '', :rabbit_quorum_queue => '', + :rabbit_transient_quorum_queue => '', :rabbit_quorum_delivery_limit => '', :rabbit_quorum_max_memory_length => '', :rabbit_quorum_max_memory_bytes => '', @@ -77,6 +78,7 @@ describe 'magnum' do :rabbit_heartbeat_in_pthread => true, :amqp_durable_queues => true, :rabbit_quorum_queue => true, + :rabbit_transient_quorum_queue => true, :rabbit_quorum_delivery_limit => 3, :rabbit_quorum_max_memory_length => 5, :rabbit_quorum_max_memory_bytes => 1073741824, @@ -112,6 +114,7 @@ describe 'magnum' do :amqp_durable_queues => true, :kombu_compression => '', :rabbit_quorum_queue => true, + :rabbit_transient_quorum_queue => true, :rabbit_quorum_delivery_limit => 3, :rabbit_quorum_max_memory_length => 5, :rabbit_quorum_max_memory_bytes => 1073741824,