Airflow 有没有办法暂停跑步?

Airflow 有没有办法暂停跑步?,airflow,Airflow,是否有办法在气流中暂停特定的DAGROUN 我希望能够对单个DAG同时执行多个运行,并且我希望能够在某些点单独暂停这些运行 取消暂停/暂停功能似乎仅在DAG级别起作用,并暂停/取消该DAG的所有DAG运行 我希望能够做到这一点,因为我希望有一些长期运行的异步任务,并且我不希望占用运行无限传感器的工人,因此我希望创建一个暂停dag的任务,以及一些其他操作,如API调用,将取消dag运行的暂停。如果这是关于传感器的,您很幸运,因为解决方案是在版本1.10.2中实现的: 资料来源:与相关;不幸的是,这

是否有办法在气流中暂停特定的DAGROUN

我希望能够对单个DAG同时执行多个运行,并且我希望能够在某些点单独暂停这些运行

取消暂停/暂停功能似乎仅在DAG级别起作用,并暂停/取消该DAG的所有DAG运行


我希望能够做到这一点,因为我希望有一些长期运行的异步任务,并且我不希望占用运行无限传感器的工人,因此我希望创建一个暂停dag的任务,以及一些其他操作,如API调用,将取消dag运行的暂停。

如果这是关于传感器的,您很幸运,因为解决方案是在版本1.10.2中实现的:

资料来源:

与相关;不幸的是,这些还没有解决方案
:param mode: How the sensor operates.
    Options are: ``{ poke | reschedule }``, default is ``poke``.
    When set to ``poke`` the sensor is taking up a worker slot for its
    whole execution time and sleeps between pokes. Use this mode if the
    expected runtime of the sensor is short or if a short poke interval
    is requried.
    When set to ``reschedule`` the sensor task frees the worker slot when
    the criteria is not yet met and it's rescheduled at a later time. Use
    this mode if the expected time until the criteria is met is. The poke
    interval should be more than one minute to prevent too much load on
    the scheduler.