掘金· RobinDevNotes·· 18 天前AI 评分58
Airflow 3 教程:从安装到两条 DAG 用 Asset 联动
crontab 管不住时,该上 Airflow 了
AI 导读
这篇教程用 Airflow 3.3.2 从安装讲到跑通两条联动管道,上游 DAG 产出数据后通过 Asset 自动触发下游 DAG。安装必须带官方 constraint 文件并用 pip 或 uv,本地用 airflow standalone 启动,写 DAG 时 @task 返回值即依赖、retries 兜底失败,先用 airflow dags test 在命令行调通。
来源:掘金 · juejin.cn