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.
Cet exercice fait partie du cours
<cours>Building Data Pipelines with Airflow</cours>Exercice interactif pratique
Transformez la théorie en action avec l’un de nos exercices interactifs
Commencer l’exercice