Skip to content

Support dispatching triggers to different triggerer instances. #33818

Closed

Description

@UnightSun

Description

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).

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:feature
    needs-triage
    on Aug 28, 2023
  2. potiuk commented on Aug 28, 2023

    @potiuk
    Member

    Yes. I think it's a good idea and necessary feature to complet multi-tenancy.

  3. added
    multi-team - aip-67
    and removed
    needs-triage
    on Aug 28, 2023
  4. avkirilishin commented on Dec 20, 2023

    @avkirilishin
    Contributor

    @UnightSun @potiuk please take a look at this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:featuremulti-team - aip-67

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions