You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jun He (Jira)" <ji...@apache.org> on 2022/09/16 11:45:00 UTC

[jira] [Created] (FLINK-29325) Fix documentation bug on how to enable batch mode

Jun He created FLINK-29325:
------------------------------

             Summary: Fix documentation bug on how to enable batch mode
                 Key: FLINK-29325
                 URL: https://issues.apache.org/jira/browse/FLINK-29325
             Project: Flink
          Issue Type: Improvement
          Components: Client / Job Submission
    Affects Versions: 1.15.2, 1.15.1, 1.15.0
            Reporter: Jun He


In latest flink doc, it says that we should use '-Dexecution.runtime-mode=BATCH' to enable batch modeļ¼Œbut it does not work actually. The wrong way is as below:

bin/flink run -Dexecution.runtime-mode=BATCH examples/streaming/WordCount.jar

we should use '--execution-mode batch' instead, the correct way is as below

bin/flink run examples/streaming/WordCount.jar --execution-mode batch



--
This message was sent by Atlassian Jira
(v8.20.10#820010)