On Thu, May 5, 2016 at 1:59 AM, Bajaj, Abhinav <abhinav.ba...@here.com>
wrote:

> Or can we resume a stopped streaming job ?


You can use savepoints [1] to take a snapshot of a streaming program from
which you can restart the job at a later point in time. This is independent
of whether you cancel or stop the program after taking the savepoint.

Currently, you can effectively only use savepoint + cancel.

Stopping is currently only implemented for the TwitterSource. I expect this
to be implemented for other more common sources like Kafka as well in
future versions. Futhermore, I expect a convenience feature like
stop-and-savepoint, which  gracefully stops your streaming program and
automatically takes a savepoint. But as of now, I probably need to go with
savepoint + cancel.

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.0/apis/streaming/savepoints.html

Reply via email to