You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ta...@apache.org on 2022/09/21 02:50:48 UTC
[flink] branch release-1.15 updated: [FLINK-29325][docs] Fix documentation bug on how to enable batch mode for streaming examples
This is an automated email from the ASF dual-hosted git repository.
tangyun pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.15 by this push:
new 9ee1589c425 [FLINK-29325][docs] Fix documentation bug on how to enable batch mode for streaming examples
9ee1589c425 is described below
commit 9ee1589c42565f47fdae8b82d488e6610bdb7fc6
Author: Jun He <xu...@gmail.com>
AuthorDate: Sat Sep 17 10:56:07 2022 +0800
[FLINK-29325][docs] Fix documentation bug on how to enable batch mode for streaming examples
This closes #20849.
---
docs/content.zh/docs/dev/datastream/execution_mode.md | 2 +-
docs/content/docs/dev/datastream/execution_mode.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/content.zh/docs/dev/datastream/execution_mode.md b/docs/content.zh/docs/dev/datastream/execution_mode.md
index 2cf146a0c53..d243517cbc8 100644
--- a/docs/content.zh/docs/dev/datastream/execution_mode.md
+++ b/docs/content.zh/docs/dev/datastream/execution_mode.md
@@ -60,7 +60,7 @@ Apache Flink 对流处理和批处理统一方法,意味着无论配置何种
下面是如何通过命令行配置执行模式:
```bash
-$ bin/flink run -Dexecution.runtime-mode=BATCH examples/streaming/WordCount.jar
+$ bin/flink run -Dexecution.runtime-mode=BATCH <jarFile>
```
这个例子展示了如何在代码中配置执行模式:
diff --git a/docs/content/docs/dev/datastream/execution_mode.md b/docs/content/docs/dev/datastream/execution_mode.md
index 415a82d7f6a..3f903907cdc 100644
--- a/docs/content/docs/dev/datastream/execution_mode.md
+++ b/docs/content/docs/dev/datastream/execution_mode.md
@@ -96,7 +96,7 @@ programmatically when creating/configuring the `StreamExecutionEnvironment`.
Here's how you can configure the execution mode via the command line:
```bash
-$ bin/flink run -Dexecution.runtime-mode=BATCH examples/streaming/WordCount.jar
+$ bin/flink run -Dexecution.runtime-mode=BATCH <jarFile>
```
This example shows how you can configure the execution mode in code: