Interview practice question
Triggering pipelines from Kafka events
Data Engineering · Airflow · Experienced
The business wants a pipeline to run whenever a "batch closed" event is published to Kafka, instead of on a schedule. How do you implement this with Airflow?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Airflow 3 asset watchers with a message queue trigger (Kafka provider).
- Event updates an asset; consumer DAG runs.
- Pass event payload to the DAG.
- Handle duplicates and ordering.
- Alternative: small consumer service calling the REST API.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.