ghostbody commented on issue #19767:
URL: https://github.com/apache/airflow/issues/19767#issuecomment-1019507616


   We rewrite our dag logic and replace the callback by a task. (as for 
`on_failure_hook`, we use a task with `one_failed`). More Information: 
https://airflow.apache.org/docs/apache-airflow/stable/concepts/dags.html#trigger-rules
   
   Callbacks are unreliable as we tought. There are three reasons:
   
   1. Callback executions are not logged to dag or dag_run which is hard to 
locate.
   2. Callbacks can not be retried even when they fail.
   3. Sometimes, they are missed.
   
   Hope this help you~ @jpradass 
   


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