Resource Type: rabbitmq_federation_upstream
- Defined in:
- lib/puppet/type/rabbitmq_federation_upstream.rb
- Providers:
-
rabbitmqctl
Overview
Native type for managing upstreams for rabbitmq federation
Properties
-
ack_mode
(defaults to: on-confirm)
on-confirm (default), on-publish or no-ack
Supported values:- on-confirm
- on-publish
- no-ack
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
expires
Time in milliseconds that the upstream should remember about this node for. After this time all upstream state will be removed. Leave this blank to mean “forever”
Supported values:- /^\d+$/
-
max_hops
(defaults to: 1)
Maximum number of federation links that messages can traverse before being dropped. Defaults to 1 if not set.
Supported values:- /^\d+$/
-
message_ttl
Time in milliseconds that undelivered messages should be held upstream when there is a network outage or backlog. Leave this blank to mean “forever”
Supported values:- /^\d+$/
-
prefetch_count
(defaults to: 1000)
Maximum number of unacknowledged messages that may be in flight over a federation link at one time. Defaults to 1000 if not set.
Supported values:- /^\d+$/
-
reconnect_delay
(defaults to: 1)
Time in seconds to wait after a network link goes down before attempting reconnection. Defaults to 1 if not set.
Supported values:- /^\d+$/
-
trust_user_id
(defaults to: false)
Set “Yes” to preserve the “user-id” field across a federation link, even if the user-id does not match that used to republish the message. Set to “No” to clear the “user-id” field when messages are federated. Only set this to “Yes” if you trust the upstream broker not to forge user-ids
Supported values:- true
- false
-
uris
The uri for the server to connect to
Parameters
-
name (namevar)
Name of federation upstream
Supported values:- /^[\w\w-]+$/
-
provider
The specific backend to use for this ‘rabbitmq_federation_upstream` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
vhost
(defaults to: /)
Vhost for federation upstream
Supported values:- /^[\w\/-]+$/