How to prevent airflow from backfilling dag runs?

后端 未结 3 770
攒了一身酷
攒了一身酷 2020-12-05 05:58

Say you have an airflow DAG that doesn\'t make sense to backfill, meaning that, after it\'s run once, running it subsequent times quickly would be completely pointless.

3条回答
  •  暖寄归人
    2020-12-05 06:38

    Upgrade to airflow version 1.8 and use catchup_by_default=False in the airflow.cfg or apply catchup=False to each of your dags.

    https://github.com/apache/incubator-airflow/blob/master/UPDATING.md#catchup_by_default

提交回复
热议问题