tillrohrmann commented on a change in pull request #15435:
URL: https://github.com/apache/flink/pull/15435#discussion_r604771701
##########
File path: docs/content.zh/docs/deployment/cli.md
##########
@@ -169,6 +169,11 @@ barrier. This will make all registered event-time timers
fire, thus flushing out
is waiting for a specific watermark, e.g. windows. The job will keep running
until all sources properly
shut down. This allows the job to finish processing all in-flight data.
+{{< hint danger >}}
+Use the `--drain` flag if you want to terminate the job permanently.
+If you want to resume the job at a later point in time, then do not drain the
pipeline because it could lead to incorrect results.
Review comment:
I think this is a good idea. I will update it.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]