Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021 Change-Id: Icdc456fb132d74037dff7ce5c502994103061258
This commit is contained in:
parent
d2625af949
commit
9a728d5a5d
|
@ -70,6 +70,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
|
||||
|
@ -268,6 +272,7 @@ class barbican::api (
|
|||
$rabbit_heartbeat_in_pthread = $facts['os_service_default'],
|
||||
$rabbit_ha_queues = $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'],
|
||||
|
@ -346,6 +351,7 @@ class barbican::api (
|
|||
kombu_ssl_version => $kombu_ssl_version,
|
||||
rabbit_ha_queues => $rabbit_ha_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 ``barbican::api::rabbit_transient_quorum_queue`` parameter has been
|
||||
added.
|
|
@ -37,6 +37,7 @@ describe 'barbican::api' do
|
|||
:rabbit_heartbeat_in_pthread => '<SERVICE DEFAULT>',
|
||||
:rabbit_ha_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>',
|
||||
|
@ -85,6 +86,7 @@ describe 'barbican::api' do
|
|||
:rabbit_heartbeat_in_pthread => true,
|
||||
:rabbit_ha_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,
|
||||
|
@ -180,6 +182,7 @@ describe 'barbican::api' do
|
|||
:kombu_ssl_version => param_hash[:kombu_ssl_version],
|
||||
:rabbit_ha_queues => param_hash[:rabbit_ha_queues],
|
||||
:rabbit_quorum_queue => param_hash[:rabbit_quorum_queue],
|
||||
:rabbit_transient_quorum_queue => param_hash[:rabbit_transient_quorum_queue],
|
||||
:rabbit_quorum_delivery_limit => param_hash[:rabbit_quorum_delivery_limit],
|
||||
:rabbit_quorum_max_memory_length => param_hash[:rabbit_quorum_max_memory_length],
|
||||
:rabbit_quorum_max_memory_bytes => param_hash[:rabbit_quorum_max_memory_bytes],
|
||||
|
|
Loading…
Reference in New Issue