Apache Airflow Explained

Apache Airflow
Logo Alt:Apache Airflow logo
Author:Maxime Beauchemin / Airbnb
Developer:Apache Software Foundation
Released:
Programming Language:Python
Operating System:Windows, macOS, Linux
Genre:Workflow management platform
License:Apache License 2.0

Apache Airflow is an open-source workflow management platform for data engineering pipelines. 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.

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

Three notable providers offer ancillary services around the core open source project.

Notes and References

  1. Web site: Apache Airflow. Apache Airflow. live. https://web.archive.org/web/20190812084339/https://airflow.apache.org/project.html. August 12, 2019. September 30, 2019.
  2. Web site: Airflow: a workflow management platform. Beauchemin. Maxime. June 2, 2015. Medium. live. https://web.archive.org/web/20190813011749/https://medium.com/airbnb-engineering/airflow-a-workflow-management-platform-46318b977fd8. August 13, 2019. September 30, 2019.
  3. Web site: Airflow. live. https://web.archive.org/web/20190706014909/https://airbnb.io/projects/airflow/. July 6, 2019. September 30, 2019.
  4. Web site: Airflow review. Trencseni. Marton. January 16, 2016. BytePawn. live. https://web.archive.org/web/20190228235838/http://bytepawn.com/airflow.html. February 28, 2019. October 1, 2019.
  5. Web site: AirflowProposal. March 28, 2019. Apache Software Foundation. October 1, 2019.
  6. Web site: Astronomer is Now the Apache Airflow Company. Lipp. Cassie. July 13, 2018. americaninno. September 18, 2019.
  7. Web site: Google launches Cloud Composer, a new workflow automation tool for developers. TechCrunch. en-US. 2019-09-18.
  8. Web site: 2020-11-24. Introducing Amazon Managed Workflows for Apache Airflow (MWAA). 2020-12-17. Amazon Web Services. en-US.