You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/12/04 22:14:17 UTC

[GitHub] [airflow] potiuk commented on issue #27660: Callback added via dag_policy using cluster policy feature is not working

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org