diff --git a/manifests/guestagent.pp b/manifests/guestagent.pp index 943fe4a4..7703c7fe 100644 --- a/manifests/guestagent.pp +++ b/manifests/guestagent.pp @@ -173,6 +173,7 @@ class trove::guestagent( heartbeat_timeout_threshold => $::trove::rabbit_heartbeat_timeout_threshold, heartbeat_rate => $::trove::rabbit_heartbeat_rate, heartbeat_in_pthread => $::trove::rabbit_heartbeat_in_pthread, + rabbit_qos_prefetch_count => $::trove::rabbit_qos_prefetch_count, rabbit_use_ssl => $rabbit_use_ssl, kombu_reconnect_delay => $::trove::kombu_reconnect_delay, kombu_failover_strategy => $::trove::kombu_failover_strategy, diff --git a/manifests/init.pp b/manifests/init.pp index b45e15a1..c990633c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -98,6 +98,10 @@ # will be run through a green thread. # Defaults to $facts['os_service_default'] # +# [*rabbit_qos_prefetch_count*] +# (Optional) Specifies the number of messages to prefetch. +# Defaults to $facts['os_service_default'] +# # [*rabbit_quorum_queue*] # (Optional) Use quorum queues in RabbitMQ. # Defaults to $facts['os_service_default'] @@ -242,6 +246,7 @@ class trove( $rabbit_heartbeat_timeout_threshold = $facts['os_service_default'], $rabbit_heartbeat_rate = $facts['os_service_default'], $rabbit_heartbeat_in_pthread = $facts['os_service_default'], + $rabbit_qos_prefetch_count = $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'], @@ -350,6 +355,7 @@ class trove( heartbeat_timeout_threshold => $rabbit_heartbeat_timeout_threshold, heartbeat_rate => $rabbit_heartbeat_rate, heartbeat_in_pthread => $rabbit_heartbeat_in_pthread, + rabbit_qos_prefetch_count => $rabbit_qos_prefetch_count, rabbit_use_ssl => $rabbit_use_ssl, kombu_reconnect_delay => $kombu_reconnect_delay, kombu_failover_strategy => $kombu_failover_strategy, diff --git a/releasenotes/notes/rabbit_qos_prefetch_count-92ac029d5c8ce265.yaml b/releasenotes/notes/rabbit_qos_prefetch_count-92ac029d5c8ce265.yaml new file mode 100644 index 00000000..9caa8b3e --- /dev/null +++ b/releasenotes/notes/rabbit_qos_prefetch_count-92ac029d5c8ce265.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + The new ``trove::rabbit_qos_prefetch_count`` parameter has been added. diff --git a/spec/classes/trove_guestagent_spec.rb b/spec/classes/trove_guestagent_spec.rb index 8b6c8155..076cf7a1 100644 --- a/spec/classes/trove_guestagent_spec.rb +++ b/spec/classes/trove_guestagent_spec.rb @@ -50,6 +50,7 @@ describe 'trove::guestagent' do :heartbeat_timeout_threshold => '', :heartbeat_rate => '', :heartbeat_in_pthread => '', + :rabbit_qos_prefetch_count => '', :rabbit_use_ssl => '', :kombu_reconnect_delay => '', :kombu_failover_strategy => '', diff --git a/spec/classes/trove_init_spec.rb b/spec/classes/trove_init_spec.rb index 6f019457..19b45209 100644 --- a/spec/classes/trove_init_spec.rb +++ b/spec/classes/trove_init_spec.rb @@ -58,6 +58,7 @@ describe 'trove' do :heartbeat_timeout_threshold => '', :heartbeat_rate => '', :heartbeat_in_pthread => '', + :rabbit_qos_prefetch_count => '', :rabbit_use_ssl => '', :kombu_reconnect_delay => '', :kombu_failover_strategy => '',