airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niels Zeilemaker <>
Subject Re: Airflow Notifiers
Date Mon, 10 Jul 2017 07:31:56 GMT
Hi Maxime,

I've pushed some changes to the pull request. And partially agree with
your comment.
Using the on_..._callbacks you could achieve something similar, but it
would be much more cumbersome I think.
The notifiers you can pass to the DAG using the default_args argument,
which to me seems to be a cleaner solution.


2017-07-09 6:23 GMT+02:00 Maxime Beauchemin <>:
> I left a few comments on the PR. Note that this approach is marginally more
> flexible/expressive to what can already be accomplished with
> `on_success_callback`, `on_failure_callback` and `on_retry_callback`.
> On Wed, Jul 5, 2017 at 7:03 AM, Niels Zeilemaker <>
> wrote:
>> Hi All,
>> I’ve opened a pull request
>> ( which
>> introduces the concept of notifiers.
>> I’ve made this change as I have a requirement to push status changes
>> of failed/retried jobs to more than only email. Eg, I want to use
>> slack in this case.
>> Currently, we can only pass an email notifier, which I feel is pretty
>> limited.
>> My pull-request changes this and introduces Notifiers, which are
>> triggered on status changes. I think it’s almost there, but I have
>> some problems trying to migrate the SLA stuff into the same concept.
>> Let me know if you have any comments. Or if you feel this is the wrong
>> approach to my problem.
>> Niels

View raw message