Apache Airflow
Apache Airflow is an open-source workflow management platform. It started at Airbnb in October 2014[1] as a solution to manage the company's increasingly complex workflows. Creating Airflow allowed Airbnb to programmatically author and schedule their workflows and monitor them via the built-in Airflow user interface.[2][3] From the beginning, the project was made open source, becoming an Apache Incubator project in March 2016 and a Top-Level Apache Software Foundation project in January 2019.
Original author(s) | Maxime Beauchemin / Airbnb |
---|---|
Developer(s) | Apache Software Foundation |
Initial release | June 3, 2015 |
Stable release | 1.10.11
/ July 10, 2020 |
Repository | |
Written in | Python |
Operating system | Microsoft Windows, macOS, Linux |
Available in | Python |
Type | Workflow management platform |
License | Apache License 2.0 |
Website | airflow |
Airflow is written in Python, and workflows are created via Python scripts. Airflow is designed under the principle of "configuration as code". While other "configuration as code" workflow platforms exist using markup languages like XML, using Python allows developers to import libraries and classes to help them create their workflows.
Overview
Airflow uses directed acyclic graphs (DAGs) to manage workflow orchestration. Tasks and dependencies are defined in Python and then Airflow manages the scheduling and execution. DAGs can be run either on a defined schedule (e.g. hourly or daily) or based on external event triggers (e.g. a file appearing in Hive[4]). Previous DAG-based schedulers like Oozie and Azkaban tended to rely on multiple configuration files and file system trees to create a DAG, whereas in Airflow, DAGs can often be written in one Python file.[5]
Managed Providers
Two notable providers offer ancillary services around the core open source project. Astronomer has built a SaaS tool and Kubernetes-deployable Airflow stack that assists with monitoring, alerting, devops, and cluster management.[6] Cloud Composer is a managed version of Airflow that runs on Google Cloud Platform (GCP) and integrates well with other GCP services.[7]
See also
References
- "Apache Airflow". Apache Airflow. Archived from the original on August 12, 2019. Retrieved September 30, 2019.
- Beauchemin, Maxime (June 2, 2015). "Airflow: a workflow management platform". Medium. Archived from the original on August 13, 2019. Retrieved September 30, 2019.
- "Airflow". Archived from the original on July 6, 2019. Retrieved September 30, 2019.
- Trencseni, Marton (January 16, 2016). "Airflow review". BytePawn. Archived from the original on February 28, 2019. Retrieved October 1, 2019.
- "AirflowProposal". Apache Software Foundation. March 28, 2019. Retrieved October 1, 2019.
- Lipp, Cassie (July 13, 2018). "Astronomer is Now the Apache Airflow Company". americaninno. Retrieved September 18, 2019.
- "Google launches Cloud Composer, a new workflow automation tool for developers". TechCrunch. Retrieved 2019-09-18.