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
Since we "hack" some build-time details, for example:
Pack dagIds, taskIds as an airflow-metadata.yaml in jar
Pack raw user's java file in the jar for BaseCoordinator.write_dag_code to get the raw code
Which means the normal ./gradle command could not pack those kind of Airflow Java SDK specific metadata, so it would be better to provide a gradle extension for users to compile the "fullly-Airflow compatible" jars.
We should wait until the AIP for "Defining Dag in Foreign-Lang" pass.
I have an idea, we can simply set Airflow-SDK-Supervisor-Schema-Version in the SDK’s JAR, so the user does not need to include it in their (dag bundle) JAR. This means we don’t need any special handling in the user JAR except Main-Class (can be either on the user JAR or the coordinators config). This means we don’t need a plugin, at least for now.
Activity
uranusjr commentedon May 22, 2026
We don’t need this for now since it’s only useful for Java DAGs. Stub tasks are routed by the coordinator.
uranusjr commentedon May 25, 2026
Oh actually we will need this for Airflow-SDK-Supervisor-Schema-Version.
uranusjr commentedon May 27, 2026
I have an idea, we can simply set Airflow-SDK-Supervisor-Schema-Version in the SDK’s JAR, so the user does not need to include it in their (dag bundle) JAR. This means we don’t need any special handling in the user JAR except Main-Class (can be either on the user JAR or the
coordinatorsconfig). This means we don’t need a plugin, at least for now.