CeleryQueueSensor

Celery

Waits for a Celery queue to be empty. By default, in order to be considered empty, the queue must not have any tasks in the reserved, scheduled or active states.

View on GitHub

Last Updated: May. 7, 2021

Access Instructions

Install the Celery provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

celery_queueRequiredstrThe name of the Celery queue to wait for.
target_task_idstrTask id for checking

Documentation

Waits for a Celery queue to be empty. By default, in order to be considered empty, the queue must not have any tasks in the reserved, scheduled or active states.

Was this page helpful?