Airflow Xcom Exclusive
Airflow 2.0 introduced the ability to swap the XCom backend. This changes the game regarding the "Size Limit" constraint mentioned above.
Instead of storing data in the SQL database, you can configure Airflow to store XComs in: airflow xcom exclusive
Review of Custom Backends:
Problem: You push a result, but no downstream task is allowed to pull it.
Solution: Define the exclusive mapping at DAG level, and review with airflow dags show-xcom --exclusive-violations. Airflow 2
XCom (short for Cross-Communication) is a mechanism in Apache Airflow that allows tasks within a DAG to exchange small pieces of data. It acts as a message board where one task can push data (key-value pair) and another task can pull that data. Review of Custom Backends: