Hi all,

A heads-up on a breaking change planned for Airflow 3.5:
https://github.com/apache/airflow/pull/74796

>From 3.5, the Dag processor will no longer connect to the metadata
database. Like workers, it will go through the Execution API, with a token
scoped to its Dag bundles. The opt-in mode merged in
https://github.com/apache/airflow/pull/74794. #74796
<https://github.com/apache/airflow/pull/74796> will make it the only mode.

The Dag processor runs Dag authors' code, which until now could read the
database credentials and Fernet key it held. Processors will no longer need
either.

Deployment managers will need to register bundles with airflow
dag-processor-sync-bundles, give each processor a token from airflow
dag-processor-token, and set [core] execution_api_server_url. The Helm
chart, Docker Compose and airflow standalone will handle the tokens
themselves. With the Helm chart, the processor pod will no longer receive
the global env, secrets or volumes. The full upgrade steps are in the PR's
core and chart significant newsfragments.

If you run custom deployments, large bundles or multi-team setups, please
try the PR and comment there or here.

This builds on Kaxil's earlier implementation in
https://github.com/apache/airflow/pull/67878.

Thanks, Ephraim

Reply via email to