AMQP Notification Settings

This page documents settings for configuring an AMQP service as a target for Bucket Notifications. See Publish Events to AMQP (RabbitMQ) for a tutorial on using these settings.

You can establish or modify settings by defining:

  • an environment variable on the host system prior to starting or restarting the AIStor Server. Refer to your operating system’s documentation for how to define an environment variable.
  • a configuration setting using mc admin config set.

If you define both an environment variable and the similar configuration setting, AIStor uses the environment variable value.

Some settings have only an environment variable or a configuration setting, but not both.

Each configuration setting controls fundamental AIStor behavior and functionality. Test configuration changes in a lower environment, such as DEV or QA, before applying to production.

Settings

Enable

Specify on to enable publishing bucket notifications to an AMQP endpoint.

Defaults to off.

URL

Specify the AMQP server endpoint to which AIStor publishes bucket events. For example, amqp://myuser:mypassword@localhost:5672.

Exchange

Specify the name of the AMQP exchange to use.

Exchange Type

Specify the type of the AMQP exchange.

Routing Key

Specify the routing key for publishing events.

Mandatory

Specify off to ignore undelivered messages errors. Defaults to on.

Durable

Specify on to persist the message queue across broker restarts. Defaults to off.

No Wait

Specify on to enable non-blocking message delivery. Defaults to off.

Internal

Specify on to use the exchange only if it is bound to other exchanges. See the RabbitMQ documentation on Exchange to Exchange Bindings for more information on AMQP exchange binding.

Auto Deleted

Specify on to automatically delete the message queue if there are no consumers. Defaults to off.

Delivery Mode

Specify 1 for set the delivery mode to non-persistent queue.

Specify 2 to set the delivery mode to persistent queue.

Queue Dir

Specify the directory path to enable MinIO’s persistent event store for undelivered messages, such as /opt/minio/events.

AIStor stores undelivered events in the specified store while the AMQP service is offline and replays the stored events when connectivity resumes.

Queue Limit

Specify the maximum limit for undelivered messages. Defaults to 100000.

Comment

Specify a comment for the AMQP configuration.

All rights reserved 2024-Present, MinIO, Inc.