Skip to content

[v3-4-test] Java SDK: Let a native Java Dag set one queue for all its tasks (#74538) - #75402

Open
github-actions[bot] wants to merge 2 commits into
v3-4-testfrom
backport-fc9c4b0-v3-4-test
Open

github-actions[bot] wants to merge 2 commits into
v3-4-testfrom
backport-fc9c4b0-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor
  • Java SDK: Let a native Java Dag set one queue for all its tasks

Every task of a native Java Dag runs on the Java coordinator, so each one
needs a queue that queue_to_coordinator routes there. Airflow's Dag has no
queue setting, so authors had to repeat the same queue on every task. The
Go and TypeScript SDKs already take a Dag-level queue that each task
inherits unless it sets its own; this gives Java the same.

  • Reject a blank Dag-level queue and fix the native Dag queue docs

A blank queue matched no coordinator, so every task stayed queued.
The parsing docs still said there was no Dag-level queue and routed a
queue the examples do not use.

  • Reject a blank Dag-level queue in the annotation processor

  • Carry the blank rule on the schema field, for Dag and task queues alike

  • Set the queue once per Dag in the e2e native bundle

  • Put the blank check on Field and tidy the comments


(cherry picked from commit fc9c4b0)

Co-authored-by: Jason(Zhe-You) Liu 68415893+jason810496@users.noreply.github.com

… tasks (#74538)

* Java SDK: Let a native Java Dag set one queue for all its tasks

Every task of a native Java Dag runs on the Java coordinator, so each one
needs a queue that queue_to_coordinator routes there. Airflow's Dag has no
queue setting, so authors had to repeat the same queue on every task. The
Go and TypeScript SDKs already take a Dag-level queue that each task
inherits unless it sets its own; this gives Java the same.

* Reject a blank Dag-level queue and fix the native Dag queue docs

A blank queue matched no coordinator, so every task stayed queued.
The parsing docs still said there was no Dag-level queue and routed a
queue the examples do not use.

* Reject a blank Dag-level queue in the annotation processor

* Carry the blank rule on the schema field, for Dag and task queues alike

* Set the queue once per Dag in the e2e native bundle

* Put the blank check on Field and tidy the comments

---------
(cherry picked from commit fc9c4b0)

Co-authored-by: Jason(Zhe-You) Liu <68415893+jason810496@users.noreply.github.com>
@jason810496
jason810496 marked this pull request as ready for review October 22, 2026 12:39
@jason810496 jason810496 added this to the Airflow 3.4.0 milestone Oct 22, 2026

This branch has not been deployed

No deployments
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.

2 participants