Airflow 2正式出来了

Airflow 2正式出来了

Airflow 2.0.0, 2020-12-17
https://github.com/apache/airflow/releases/tag/2.0.0

1.新的写dag脚本方式。(使用python注释)

@task
def extract():
return {“1001”: 301.27, “1002”: 433.21, “1003”: 502.22}

2.Fully specified REST API (AIP-32)

更全的 REST API 接口。提供外部调用。

3.Massive Scheduler performance improvements

As part of AIP-15 (Scheduler HA+performance) and other work Kamil did, we significantly improved the performance of the Airflow Scheduler. It now starts tasks much, MUCH quicker.
更快的启动任务

4.Scheduler is now HA compatible (AIP-15)

调度高可用。(主备)

5.Task Groups (AIP-34)

可以在任务中建子任务(一个任务中包含多个子任务),可以在web UI上钻取操作。

6.Refreshed UI

自动刷新介面任务状态。不用手工老点介面刷新了。

7.Smart Sensors for reduced load from sensors (AIP-17)

更智能化的检查器功能。(例如检查其它dag中的任务),在大量使用检查器时,减小资源使用。

8.Simplified KubernetesExecutor

减化 KubernetesExecutor 执行器。

9.Airflow core and providers: Splitting Airflow into 60+ packages

将airflow 安装包分成多个安装包,可单独下载

10.Configuration

Configuration in the form of the airflow.cfg file has been rationalized further in distinct sections, specifically around “core”. Additionally, a significant amount of configuration options have been deprecated or moved to individual component-specific configuration files, such as the pod-template-file for Kubernetes execution-related configuration.
将配置文件分成多个独立的模块文件。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值