airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Noagbodji <vnoagbo...@amplify-nation.com>
Subject Re: About the difference between xcom and variable
Date Wed, 09 May 2018 09:44:49 GMT
That's awesome.

> On May 9, 2018, at 3:38 AM, Beau Barker <beauinmelbourne@gmail.com> wrote:
> 
> Use xcom for communication between tasks.
> 
> In the upcoming version 1.10 there's no need to specify task_ids for xcom.
> 
> You can simply say:
> self.xcom_pull(context, key='name')
> 
> 
>> On 9 May 2018, at 17:22, Song Liu <songliu@outlook.com> wrote:
>> 
>> 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
View raw message