Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021 Change-Id: Idb975162d128112aaae1359b5d514cba59d180bf
This commit is contained in:
parent
c9da9cf718
commit
1d4c78a694
|
@ -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
|
||||
|
@ -151,6 +155,7 @@ class designate(
|
|||
$rabbit_ha_queues = $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'],
|
||||
|
@ -196,6 +201,7 @@ class designate(
|
|||
heartbeat_in_pthread => $rabbit_heartbeat_in_pthread,
|
||||
amqp_durable_queues => $amqp_durable_queues,
|
||||
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,
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
The new ``designate::rabbit_transient_quorum_queue`` parameter has been
|
||||
added.
|
|
@ -118,6 +118,7 @@ describe 'designate' do
|
|||
:heartbeat_in_pthread => '<SERVICE DEFAULT>',
|
||||
:amqp_durable_queues => '<SERVICE DEFAULT>',
|
||||
:rabbit_quorum_queue => '<SERVICE DEFAULT>',
|
||||
:rabbit_transient_quorum_queue => '<SERVICE DEFAULT>',
|
||||
:rabbit_quorum_delivery_limit => '<SERVICE DEFAULT>',
|
||||
:rabbit_quorum_max_memory_length => '<SERVICE DEFAULT>',
|
||||
:rabbit_quorum_max_memory_bytes => '<SERVICE DEFAULT>',
|
||||
|
@ -133,6 +134,7 @@ describe 'designate' do
|
|||
:rabbit_ha_queues => true,
|
||||
:rabbit_heartbeat_in_pthread => 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,
|
||||
|
@ -148,6 +150,7 @@ describe 'designate' do
|
|||
:rabbit_ha_queues => true,
|
||||
:heartbeat_in_pthread => 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,
|
||||
|
|
Loading…
Reference in New Issue