Login | Register

Airflow: Xcom

Received: Hello from Task 1

Sharing a status code or a "success/failure" flag to decide the path of a workflow. xcom airflow

push = PythonOperator(task_id='push_task', python_callable=push_function) pull = PythonOperator(task_id='pull_task', python_callable=pull_function) Received: Hello from Task 1 Sharing a status

In Apache Airflow, each task instance is typically isolated. Tasks cannot share variables or data directly. (short for cross-communication ) is the mechanism that allows tasks to exchange small pieces of data. (short for cross-communication ) is the mechanism that

XCom Airflow is a powerful feature that enables cross-communication between tasks, making it easier to build efficient, reliable, and scalable workflows. By understanding how XCom works and following best practices, you can unlock its full potential and take your Airflow workflows to the next level. Whether you're building data processing pipelines, coordinating task execution, or exchanging metadata, XCom is an essential tool in your Airflow toolkit.