Skip to content

Add docs for multi-team triggerer support#67608

Open
ramitkataria wants to merge 1 commit into
apache:mainfrom
aws-mwaa:ramitkataria/mt/trigger-docs
Open

Add docs for multi-team triggerer support#67608
ramitkataria wants to merge 1 commit into
apache:mainfrom
aws-mwaa:ramitkataria/mt/trigger-docs

Conversation

@ramitkataria
Copy link
Copy Markdown
Contributor

@ramitkataria ramitkataria commented May 27, 2026

Add a Team-scoped Triggerer section to the multi-team documentation covering the --team-name CLI argument, behavior for team-scoped vs global triggerers, interaction with --queues, and an example deployment.

Add a tip in the deferring docs pointing users toward --team-name as the native multi-team solution alongside the existing --queues docs.

Remove Async support from the Work in Progress list since team-scoped triggerer support is now implemented/in PR.


Was generative AI tooling used to co-author this PR?
  • Yes (Claude Code - Opus 4.6)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

Add a `Team-scoped Triggerer` section to the multi-team documentation
covering the `--team-name` CLI argument, behavior for team-scoped vs
global triggerers, interaction with `--queues`, and an example deployment.

Add a tip in the deferring docs pointing users toward `--team-name` as
the native multi-team solution alongside the existing `--queues` docs.

Remove `Async support` from the `Work in Progress` list since team-scoped
triggerer support is now implemented/in PR.
Team-scoped Triggerer
---------------------

When Multi-Team mode is enabled, the triggerer can be scoped to a specific team using the ``--team-name`` CLI argument. A team-scoped triggerer only processes deferred tasks (triggers) belonging to that team's Dags. This allows teams to run isolated triggerer instances with independent capacity and failure domains.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be? Otherwise team triggers aren't going to run, right?

Suggested change
When Multi-Team mode is enabled, the triggerer can be scoped to a specific team using the ``--team-name`` CLI argument. A team-scoped triggerer only processes deferred tasks (triggers) belonging to that team's Dags. This allows teams to run isolated triggerer instances with independent capacity and failure domains.
When Multi-Team mode is enabled, a triggerer should be scoped to each specific team using the ``--team-name`` CLI argument. A team-scoped triggerer processes deferred tasks (triggers) belonging to that team's Dags. This allows teams to run isolated triggerer instances with independent capacity and failure domains.


.. note::

If you use both ``--team-name`` and ``--queues``, ensure that each combination of team and queue has at least one triggerer running, or triggers matching that combination will remain unassigned until one starts.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true for each individually as well right?

Comment on lines +548 to +561
Example Deployment
^^^^^^^^^^^^^^^^^^

A deployment with two teams and a shared set of Dags with no team:

.. code-block:: bash

# Team-scoped triggerers
airflow triggerer --team-name team_a
airflow triggerer --team-name team_b

# Global triggerer for Dags without a team
airflow triggerer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels superfluous to me, I'd just drop it.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants