[ https://issues.apache.org/jira/browse/FLINK-29325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yun Tang resolved FLINK-29325. ------------------------------ Resolution: Fixed merged in master(1.17): 05600f844a904f34ab45f512715a76193974b497 release-1.16: de4aa4b7fee0f112fa3cfe66d0ad620841e18d74 release-1.15: 9ee1589c42565f47fdae8b82d488e6610bdb7fc6 > Fix documentation bug on how to enable batch mode for streaming examples > ------------------------------------------------------------------------ > > Key: FLINK-29325 > URL: https://issues.apache.org/jira/browse/FLINK-29325 > Project: Flink > Issue Type: Bug > Components: Client / Job Submission, Documentation > Affects Versions: 1.15.2 > Reporter: Jun He > Assignee: Jun He > Priority: Major > Labels: pull-request-available > Fix For: 1.16.0, 1.17.0, 1.15.3 > > > 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)