Configuring retries with exponential backoff
Your team runs a pipeline that fetches weather data from an external API. The API occasionally times out during peak hours, but these are transient failures that usually resolve on their own.
A simple retry with a fixed delay can overwhelm the API during an outage, so the task needs a strategy that gives the endpoint progressively more time to recover between attempts.
Это упражнение является частью курса
Building Data Pipelines with Airflow
Практическое интерактивное упражнение
Превратите теорию в практику с помощью одного из наших интерактивных упражнений
Начать упражнение