From 14ef013dedc5d3971e8fc90f0d00ecfeefbad34e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 14 Mar 2024 11:15:57 +0900 Subject: [PATCH] Expose rabbit_transient_quorum_queue Depends-on: https://review.opendev.org/911021 Change-Id: Iea72a6726e05d43be5ba4ee8762457381bfa183c --- manifests/init.pp | 6 ++++++ .../rabbit_transient_quorum_queue-1431457758c39744.yaml | 4 ++++ spec/classes/trove_init_spec.rb | 1 + 3 files changed, 11 insertions(+) create mode 100644 releasenotes/notes/rabbit_transient_quorum_queue-1431457758c39744.yaml diff --git a/manifests/init.pp b/manifests/init.pp index 4762cffb..a9e50513 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -102,6 +102,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 @@ -300,6 +304,7 @@ class trove( $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'], @@ -444,6 +449,7 @@ class trove( kombu_ssl_keyfile => $kombu_ssl_keyfile, kombu_ssl_version => $kombu_ssl_version, 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-1431457758c39744.yaml b/releasenotes/notes/rabbit_transient_quorum_queue-1431457758c39744.yaml new file mode 100644 index 00000000..3146b065 --- /dev/null +++ b/releasenotes/notes/rabbit_transient_quorum_queue-1431457758c39744.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + The new ``trove::rabbit_transient_quorum_queue`` parameter has been added. diff --git a/spec/classes/trove_init_spec.rb b/spec/classes/trove_init_spec.rb index 15ffe871..1fd08c58 100644 --- a/spec/classes/trove_init_spec.rb +++ b/spec/classes/trove_init_spec.rb @@ -69,6 +69,7 @@ describe 'trove' do :kombu_ssl_keyfile => '', :kombu_ssl_version => '', :rabbit_quorum_queue => '', + :rabbit_transient_quorum_queue => '', :rabbit_quorum_delivery_limit => '', :rabbit_quorum_max_memory_length => '', :rabbit_quorum_max_memory_bytes => '',