202201142 commented on issue #65420:
URL: https://github.com/apache/airflow/issues/65420#issuecomment-4273036698

   Thanks for taking a look, @itsUtkarshOjha!
   
   Could you please share your thoughts, @potiuk?
   
   In Airflow 3.1.8, the Celery worker process appears to still require a valid 
metadata DB connection string because `airflow.settings.initialize()` calls 
`configure_vars()`, and (unless it is a re-executed subprocess) it also calls 
`configure_orm()`, which creates the SQLAlchemy engine.
   
   So, is it **expected behavior in Airflow 3.x** that Celery workers must have 
a valid `AIRFLOW__DATABASE__SQL_ALCHEMY_CONN` configured, or is the longer-term 
expectation that workers can be DB-less?
   
   If a change is desired here, I’m happy to work on a proposed approach and 
open a PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to