Building the Airflow Event Stream
summary
Adyen handles tens of millions of transactions per day on an on‑prem Hadoop stack (HDFS + Spark) and replaces fragile file‑polling with a durable event log: Airflow Event Stream records every task state change (dag, task, exec_date, state, metadata). A push operator attaches payloads or file lists; applications run one consumer per DAG that stores its offset, transports artifacts, and resumes after failures. Implemented as an Airflow plugin with a REST API and a SQLAlchemy listener, the system yields eventual consistency, clearer failure ownership, and monitoring integration.
AI-written summary · about
