zhuzhurk commented on code in PR #21801:
URL: https://github.com/apache/flink/pull/21801#discussion_r1098265457
##########
docs/content/docs/deployment/speculative_execution.md:
##########
@@ -52,15 +52,14 @@ in near future. DataStream API is now the recommended low
level API to develop F
{{< /hint >}}
### Enable Speculative Execution
-To enable speculative execution, you need to set the following configuration
options:
-- `jobmanager.scheduler: AdaptiveBatch`
- - Because only [Adaptive Batch Scheduler]({{< ref
"docs/deployment/elastic_scaling" >}}#adaptive-batch-scheduler) supports
speculative execution.
-- `jobmanager.adaptive-batch-scheduler.speculative.enabled: true`
-
+You can enable speculative execution through the following configuration items:
+- `execution.batch.speculative.enabled: true`
+####
+Note that currently only [Adaptive Batch Scheduler]({{< ref
"docs/deployment/elastic_scaling" >}}#adaptive-batch-scheduler) supports
speculative execution. And Flink batch jobs will use this scheduler by default
unless another scheduler is explicitly configured.
### Tuning Configuration
Review Comment:
An empty line should be added in above.
##########
docs/content.zh/docs/deployment/speculative_execution.md:
##########
@@ -45,15 +45,15 @@ under the License.
{{< /hint >}}
### 启用预测执行
-要启用预测执行,你需要设置以下配置项:
-- `jobmanager.scheduler: AdaptiveBatch`
- - 因为当前只有 [Adaptive Batch Scheduler]({{< ref
"docs/deployment/elastic_scaling" >}}#adaptive-batch-scheduler) 支持预测执行.
-- `jobmanager.adaptive-batch-scheduler.speculative.enabled: true`
+你可以通过以下配置项启用预测执行:
+- `execution.batch.speculative.enabled: true`
+####
Review Comment:
This line should be replaced with an empty new line.
--
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]