You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support dispatching triggers to different triggerer instances. #33818
Let it say:
We have two celery workers: A and B, they cannot access to each other
worker A can access file A, but can not access file B,
and worker B can access file B, not file A.
And we need to check both file's status and move on.
With sensors, we can set workers A and B to different queue, and specify task's queue parameter.
But when we trying to use deferrable operator and triggers, we cannot specify which triggerer it runs on.
Use case/motivation
airflow triggerer can take a parameter like celery worker's queue, and Operator.defer or Operator.__init__ can specify that parameter, make tigger runs on that triggerer (or one of triggerers).
Activity
potiuk commentedon Aug 28, 2023
Yes. I think it's a good idea and necessary feature to complet multi-tenancy.
avkirilishin commentedon Dec 20, 2023
@UnightSun @potiuk please take a look at this PR