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)

Reply via email to