Scheduling a consumer Dag on an Asset
Now that the sales producer signals when data is ready, you need a consumer Dag that runs automatically whenever the asset is updated. Define the same asset (s3://data-lake/sales/daily.csv) and set the consumer's schedule to it so Airflow triggers the Dag after each update.
This exercise is part of the course
Building Data Pipelines with Airflow
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise