airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bolke de Bruin <bdbr...@gmail.com>
Subject Re: airflow dags share the same database?
Date Wed, 04 Jan 2017 20:32:24 GMT
Some suggestions:

* SQLSensor pointing to the other database
* Put a file somewhere, where it is being polled by the other dag/task
* Trigger the dag1 from task2 (easier with the Rest API in master)

Bolke

> On 4 Jan 2017, at 21:08, Michael Gong <gonwg@hotmail.com> wrote:
> 
> Hi,
> 
> 
> Say due to some policy, I have to run 2 dag instances on 2 different servers.
> 
> 
> If I want task 1 from dag1 depends on task 2 from dag2, how can I do it ?
> 
> 
> One idea I can  think of is that the 2 dag instances share the same MySQL db, will it
work ?
> 
> 
> 
> Any ideas are welcomed.
> 
> 
> thanks.
> 
> Michael
> 
> 
> 
> 
> 
> 
> 
> 


Mime
View raw message