potiuk commented on issue #27660:
URL: https://github.com/apache/airflow/issues/27660#issuecomment-1336530989

   Airflow 2.5.0 (released three days ago) has currently much better solution 
for those kind of approach - listeners:
   
   https://airflow.apache.org/docs/apache-airflow/stable/listeners.html
   
   They are much better way of handling the lifecycle of DAGs and Tasks, and we 
strongly recommend to upgrade rather than try to add callbacks via policies. 
This is a much more stable and robust solution that will likely get improved 
and optimized in the future and it should be used instead of policies for any 
kind of "lifecycle" global callbacks. 
   
   I will convert this one into a discussion now - in case more discussion is 
needed. 


-- 
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