Menu

Course · Streaming & orchestration

Airflow

Airflow schedules and orchestrates pipelines as DAGs. Learn scheduling, task dependencies, retries and idempotent task design.

Lessons
8
Interview questions
2
Projects & case studies
7
Reading time
~3 h

Your progress

Saved in this browser only

Course structure

Practise

Lessons

Work through the lessons in order. Completed lessons show a tick; lessons you have opened are outlined.

Beginner

Core concepts you will use every day.

  1. Airflow DAG Fundamentals, TaskFlow and Dynamic DAGsBuild Airflow 3 DAGs from first principles: tasks and dependencies, the TaskFlow API, params and Jinja templating, dynamic DAGs and dynamic task mapping.Beginner26 min
  2. Airflow Operators, Hooks, Providers, Branching and Trigger RulesUse BashOperator and PythonOperator well, write custom operators and hooks, pick provider packages, run pods, and control flow with branching and trigger rules.Beginner22 min

Intermediate

Patterns used in production pipelines.

  1. Airflow Sensors and Deferrable OperatorsWait for files, other DAGs and external jobs without wasting workers: sensor modes, timeouts, ExternalTaskSensor, FileSensor, triggers and what replaced Smart Sensors.Intermediate19 min
  2. Airflow Scheduling: Intervals, Logical Dates, Catchup, Timetables and AssetsHow the Airflow 3 scheduler creates runs: cron and presets, logical dates and data intervals, catchup pitfalls, timetables, asset-aware scheduling and deadline alerts.Intermediate26 min
  3. Airflow XCom, Variables, Connections and SecretsMove small data between tasks with XCom, keep large data out with custom backends, manage config and credentials with Variables, Connections and secrets backends.Intermediate20 min
  4. Operating Airflow: Backfills, Retries, Alerting, Logging and the REST APIRun Airflow day to day: backfill history, clear tasks safely, set retries and alerts, configure logs and StatsD metrics, and use the REST API v2.Intermediate19 min
  5. Airflow Best Practices: Idempotent Tasks, Testing and CI/CDWrite Airflow DAGs that are safe to rerun and cheap to parse, then test them with DagBag integrity tests, unit tests and dag.test(), and ship them through CI/CD.Intermediate18 min

Advanced

Performance, internals and edge cases.

  1. Airflow Executors, Pools and ScalingCompare Airflow 3 executors (Local, Celery, Kubernetes, multiple executors), learn what replaced SequentialExecutor and hybrids, and tune pools and scaling.Advanced17 min

Projects and case studies

Apply what you learned and prepare material to discuss in interviews.

Projects

System design case studies

Resources

Cheat sheets

Related courses

Plan your learning

Search
Filter by type