Skip to content

AMQP (RabbitMQ) Source

Consumes messages from an AMQP queue.

Configuration

yaml
source:
  kind: amqp
  connection_string: "amqp://guest:guest@localhost:5672"
  queue: events
FieldDefaultDescription
connection_string(required)AMQP connection URI
queue(required)Queue name
exchangeExchange to bind to
routing_keyRouting key for binding
consumer_tagauto-generatedConsumer tag
prefetch_count10Prefetch count
modestreamstream or batch
idle_timeout_seconds5Batch mode idle timeout

Namespace: amqp.{queue}

CLI

bash
skippr connect source amqp \
  --connection-string 'amqp://guest:guest@localhost:5672' \
  --queue my-queue
FlagDescription
--connection-stringAMQP connection URI
--queueQueue name
--modeConsumption mode