Consume messages from an AMQP queue.

Requires maxDuration or maxRecords.

yaml
type: "io.kestra.plugin.amqp.Consume"
yaml
id: amqp_consume
namespace: company.team

tasks:
  - id: consume
    type: io.kestra.plugin.amqp.Consume
    url: amqp://guest:guest@localhost:5672/my_vhost
    queue: kestramqp.queue
    maxRecords: 1000
Properties

The broker host

The queue to pull messages from

Default Kestra

A client-generated consumer tag to establish context

Format duration

The maximum duration to wait for new rows

It's not a hard limit and is evaluated every second.

The maximum number of rows to fetch before stopping

It's not a hard limit and is evaluated every second.

The broker password

Default 5672

The broker port

Default STRING
Possible Values
STRINGJSON

Serializer / Deserializer used for the message.

The broker username

Default /

The broker virtual host

Number of rows consumed

Format uri

File URI containing consumed messages