jingi723 commented on code in PR #74129: URL: https://github.com/apache/airflow/pull/74129#discussion_r4677463869
########## providers/amazon/docs/operators/ecs.rst: ########## @@ -209,6 +209,25 @@ the operator returns before checking exit codes. On Airflow versions supporting ``retry_policy``, a matching code raises ``AirflowFailException``, which bypasses retry policies, including a policy that would otherwise retry the task. +Control task termination +"""""""""""""""""""""""" + +By default, ``EcsRunTaskOperator`` requests that ECS stop the task when Airflow calls +the operator's ``on_kill()`` callback, for example on an execution timeout while the +worker is waiting for completion. Set ``stop_task_on_kill=False`` to let the ECS task +continue running independently. Local log fetching is stopped in either case. + +This option only controls ``on_kill()``. It does not change cancellation after the Review Comment: Thanks, good call. Updated the wording as suggested in 5accb81506f2e6e6c8a4c4d2b7d0b0d2a8f5e1c0. ########## providers/amazon/docs/operators/ecs.rst: ########## @@ -209,6 +209,25 @@ the operator returns before checking exit codes. On Airflow versions supporting ``retry_policy``, a matching code raises ``AirflowFailException``, which bypasses retry policies, including a policy that would otherwise retry the task. +Control task termination +"""""""""""""""""""""""" + +By default, ``EcsRunTaskOperator`` requests that ECS stop the task when Airflow calls +the operator's ``on_kill()`` callback, for example on an execution timeout while the +worker is waiting for completion. Set ``stop_task_on_kill=False`` to let the ECS task +continue running independently. Local log fetching is stopped in either case. + +This option only controls ``on_kill()``. It does not change cancellation after the Review Comment: Thanks, good call. Updated the wording as suggested in 5accb8150531aa6246705fb0d4b229a5eb5c10a1. -- 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]
