1996fanrui commented on code in PR #23847:
URL: https://github.com/apache/flink/pull/23847#discussion_r1413373818


##########
docs/content.zh/docs/ops/state/task_failure_recovery.md:
##########
@@ -49,20 +49,18 @@ Flink 作业如果没有定义重启策略,则会遵循集群启动时加载
 {{< generated/restart_strategy_configuration >}}
 
 除了定义默认的重启策略以外,还可以为每个 Flink 作业单独定义重启策略。
-这个重启策略通过在程序中的 `StreamExecutionEnvironment` 对象上调用 `setRestartStrategy` 方法来设置。
-当然,对于 `StreamExecutionEnvironment` 也同样适用。
 
 下例展示了如何给我们的作业设置固定延时重启策略。
 如果发生故障,系统会重启作业 3 次,每两次连续的重启尝试之间等待 10 秒钟。
 
 {{< tabs "2b011473-9a34-4e7b-943b-be4a9071fe3c" >}}
 {{< tab "Java" >}}

Review Comment:
   Thanks for your feedback, sounds make sense to me.



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