Skip to main content

PyPI version

RabbitMQ Provider for Apache Airflow

Configuration

In the Airflow user interface, configure a connection with the Conn Type set to RabbitMQ. Configure the following fields:

  • Conn Id: How you wish to reference this connection. The default value is rabbitmq_default.
  • login: Login for the RabbitMQ server.
  • password: Password for the RabbitMQ server.,
  • port: Port for the RabbitMQ server, typically 5672.
  • host: Host of the RabbitMQ server.
  • vhost: The virtual host you wish to connect to.

Modules

RabbitMQ Operator

The RabbitMQOperator publishes a message to your specificed RabbitMQ server.

Import into your DAG using:

from rabbitmq_provider.operators.rabbitmq import RabbitMQOperator

RabbitMQ Sensor

The RabbitMQSensor checks a given queue for a message. Once it has found a message the sensor triggers downstream proccesses in your DAG.

Import into your DAG using:

from rabbitmq_provider.sensors.rabbitmq import RabbitMQSensor

Testing

To run unit tests, use:

poetry run pytest .

A RabbitMQ instance is required to run the tests. Use the following command:

docker run --rm -it --hostname my-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management

Metadata

Release files for airflow-provider-rabbitmq 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airflow-provider-rabbitmq 0.6.1
File Size Uploaded
airflow-provider-rabbitmq-0.6.1.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airflow-provider-rabbitmq 0.6.1
File Interpreter ABI Platform
airflow_provider_rabbitmq-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.8 kB

Release files / airflow-provider-rabbitmq-0.6.1.tar.gz

Download URL airflow-provider-rabbitmq-0.6.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b941e89ac12a51972d11b49036ca73cea7699d7ea081084e987008a1eaf507a6
BLAKE2b-256 checksum
How to use checksums
e8754ee630489a0dd055317ca4cd36c7e11ad82f954f1b08f78682caa4cacee3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.7.10 Darwin/21.4.0

Release files / airflow_provider_rabbitmq-0.6.1-py3-none-any.whl

Download URL airflow_provider_rabbitmq-0.6.1-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84c0519597c0204b5a0f9a094ee8fe2714fd695ac0f7a5c92dec7e038f4762f4
BLAKE2b-256 checksum
How to use checksums
ecddd204a23712b7e2190657f66b81bffc5746a8e13eec480730de413b6a3c36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.7.10 Darwin/21.4.0

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page