airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Song Liu <song...@outlook.com>
Subject 答复: About the difference between xcom and variable
Date Thu, 10 May 2018 08:55:07 GMT
It seems that variable doesn't remove the duplication if have.

Anyway XCom.get / XCom.set looks like more flexible and it meets the requirement.

Thanks,
Song
________________________________
发件人: Song Liu <songliu@outlook.com>
发送时间: 2018年5月9日 7:22
收件人: dev@airflow.incubator.apache.org
主题: About the difference between xcom and variable

Hi,

For the cross-task communication, there are two options:
- xcom
- variable

if I have make sure the key of variable is global unique (such uuid), is there any other limitations
or cons for using variable instead of xcom ? since that xcom should specify the task_id which
is used not very convenient compared with variable.

Any information is appreciated.

Thanks,
Song
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message