Synadia Connect

AMQP 0.9

NAMERUNTIMETYPEVERSION
amqp_0_9wombatsourcelatest

Connects to an AMQP (0.91) queue. AMQP is a messaging protocol used by various message brokers, including RabbitMQ.

TLS is automatic when connecting to an amqps URL, but custom settings can be enabled in the tls section.

The following metadata fields are added to each message:

  • amqp_content_type
  • amqp_content_encoding
  • amqp_delivery_mode
  • amqp_priority
  • amqp_correlation_id
  • amqp_reply_to
  • amqp_expiration
  • amqp_message_id
  • amqp_timestamp
  • amqp_type
  • amqp_user_id
  • amqp_app_id
  • amqp_consumer_tag
  • amqp_delivery_tag
  • amqp_redelivered
  • amqp_exchange
  • amqp_routing_key
  • All existing message headers, including nested headers prefixed with the key of their respective parent.

Configuration

NameTypeOptionalSecretDescription
urls[]stringnonoA list of URLs to connect to. The first URL to successfully establish a connection will be used until the connection is closed. If an item of the list contains commas it will be expanded into multiple URLs.
queuestringnonoAn AMQP queue to consume from.
queue_declarequeue_declarenonoAllows you to passively declare the target queue. If the queue already exists then the declaration passively verifies that they match the target fields.
bindings_declare[]stringnonoAllows you to passively declare bindings for the target queue.
consumer_tagstringyesnoA consumer tag. The value defaults to "".
auto_ackboolyesnoAcknowledge messages automatically as they are consumed rather than waiting for acknowledgments from downstream. This can improve throughput and prevent the pipeline from blocking but at the cost of eliminating delivery guarantees. The value defaults to false.
nack_reject_patterns[]stringyesnoA list of regular expression patterns whereby if a message that has failed to be delivered by the connector has an error that matches it will be dropped (or delivered to a dead-letter queue if one exists). By default failed messages are nacked with requeue enabled. The value defaults to [].
prefetch_countintyesnoThe maximum number of pending messages to have consumed at a time. The value defaults to 10.
prefetch_sizeintyesnoThe maximum amount of pending messages measured in bytes to have consumed at a time. The value defaults to 0.
tlstlsnonoCustom TLS settings can be used to override system defaults.

Queue_declare

NameTypeOptionalSecretDescription
enabledboolyesnoWhether to enable queue declaration. The value defaults to false.
durableboolyesnoWhether the declared queue is durable. The value defaults to true.
auto_deleteboolyesnoWhether the declared queue will auto-delete. The value defaults to false.

TLS Configuration

NameTypeOptionalSecretDescription
enabledboolyesnoWhether custom TLS settings are enabled. The value defaults to false.
skip_cert_verifyboolyesnoWhether to skip server side certificate verification. The value defaults to false.
enable_renegotiationboolyesnoWhether to allow the remote server to repeatedly request renegotiation.
Enable this option if you're seeing the error message local error: tls: no renegotiation. The value defaults to false.
root_casstringyesyesAn optional root certificate authority to use.
This is a string, representing a certificate chain from the parent trusted root certificate,
to possible intermediate signing certificates, to the host certificate. The value defaults to "".
client_certs[]client_certsyesnoA list of client certificates to use. . The value defaults to [].
Previous
Sources