Book description
A successful pipeline moves data efficiently, minimizing pauses and blockages between tasks, keeping every process along the way operational. Apache Airflow provides a single customizable environment for building and managing data pipelines, eliminating the need for a hodgepodge collection of tools, snowflake code, and homegrown processes. Using real-world scenarios and examples, Data Pipelines with Apache Airflow teaches you how to simplify and automate data pipelines, reduce operational overhead, and smoothly integrate all the technologies in your stack.About the Technology
Data pipelines manage the flow of data from initial collection through consolidation, cleaning, analysis, visualization, and more. Apache Airflow provides a single platform you can use to design, implement, monitor, and maintain your pipelines. Its easy-to-use UI, plug-and-play options, and flexible Python scripting make Airflow perfect for any data management task.
About the Book
Data Pipelines with Apache Airflow teaches you how to build and maintain effective data pipelines. You’ll explore the most common usage patterns, including aggregating multiple data sources, connecting to and from data lakes, and cloud deployment. Part reference and part tutorial, this practical guide covers every aspect of the directed acyclic graphs (DAGs) that power Airflow, and how to customize them for your pipeline’s needs.
What's Inside
- Build, test, and deploy Airflow pipelines as DAGs
- Automate moving and transforming data
- Analyze historical datasets using backfilling
- Develop custom components
- Set up Airflow in production environments
About the Reader
For DevOps, data engineers, machine learning engineers, and sysadmins with intermediate Python skills.
About the Authors
Bas Harenslak and Julian de Ruiter are data engineers with extensive experience using Airflow to develop pipelines for major companies. Bas is also an Airflow committer.
Quotes
An Airflow bible. Useful for all kinds of users, from novice to expert.
- Rambabu Posa, Sai Aashika Consultancy
An easy-to-follow exploration of the benefits of orchestrating your data pipeline jobs with Airflow.
- Daniel Lamblin, Coupang
The one reference you need to create, author, schedule, and monitor workflows with Apache Airflow. Clear recommendation.
- Thorsten Weber, bbv Software Services AG
By far the best resource for Airflow.
- Jonathan Wood, LexisNexis
Publisher resources
Table of contents
- inside front cover
- Data Pipelines with Apache Airflow
- Copyright
- brief contents
- contents
- front matter
- Part 1. Getting started
- 1 Meet Apache Airflow
- 2 Anatomy of an Airflow DAG
- 3 Scheduling in Airflow
- 4 Templating tasks using the Airflow context
- 5 Defining dependencies between tasks
- Part 2. Beyond the basics
- 6 Triggering workflows
- 7 Communicating with external systems
- 8 Building custom components
- 9 Testing
- 10 Running tasks in containers
- Part 3. Airflow in practice
-
11 Best practices
-
11.1 Writing clean DAGs
- 11.1.1 Use style conventions
- 11.1.2 Manage credentials centrally
- 11.1.3 Specify configuration details consistently
- 11.1.4 Avoid doing any computation in your DAG definition
- 11.1.5 Use factories to generate common patterns
- 11.1.6 Group related tasks using task groups
- 11.1.7 Create new DAGs for big changes
- 11.2 Designing reproducible tasks
- 11.3 Handling data efficiently
- 11.4 Managing your resources
- Summary
-
11.1 Writing clean DAGs
- 12 Operating Airflow in production
- 13 Securing Airflow
- 14 Project: Finding the fastest way to get around NYC
- Part 4. In the clouds
- 15 Airflow in the clouds
- 16 Airflow on AWS
- 17 Airflow on Azure
- 18 Airflow in GCP
- appendix A. Running code samples
- appendix B. Package structures Airflow 1 and 2
- appendix C. Prometheus metric mapping
- index
- inside back cover
Product information
- Title: Data Pipelines with Apache Airflow
- Author(s):
- Release date: May 2021
- Publisher(s): Manning Publications
- ISBN: 9781617296901
You might also like
audiobook
Data Pipelines with Apache Airflow
An Airflow bible. Useful for all kinds of users, from novice to expert. Rambabu Posa, Sai …
video
Data Pipelines with Apache Airflow, video edition
An Airflow bible. Useful for all kinds of users, from novice to expert. Rambabu Posa, Sai …
book
Data Engineering with Apache Spark, Delta Lake, and Lakehouse
Understand the complexities of modern-day data engineering platforms and explore strategies to deal with them with …
book
Stream Processing with Apache Flink
Get started with Apache Flink, the open source framework that powers some of the world’s largest …