Skip to content

Commit

Permalink
Clarify Listener API behavior (#32269)
Browse files Browse the repository at this point in the history
* Fixes: #31180 - Plugin for listeners - on_dag_run_running hook ignored

Documentation update for Plugin for listeners - on_dag_run_running hook ignored
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
  • Loading branch information
vijayasarathib committed Jul 4, 2023
1 parent bc3b2d1 commit ab2c861
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Airflow defines the specification as `hookspec <https://github.com/apache/airflo

To include the listener in your Airflow installation, include it as a part of an :doc:`Airflow Plugin </authoring-and-scheduling/plugins>`

Listener API is meant to be called across all DAGs and all operators. You can't listen to events generated by specific DAGs. For that behavior, try methods like ``on_success_callback`` and ``pre_execute``. These provide callbacks for particular DAG authors or operator creators.
Listener API is meant to be called across all DAGs and all operators. You can't listen to events generated by specific DAGs. For that behavior, try methods like ``on_success_callback`` and ``pre_execute``. These provide callbacks for particular DAG authors or operator creators. The logs and ``print()`` calls will be handled as part of the listeners.


|experimental|

0 comments on commit ab2c861

Please sign in to comment.