Re: How to recovery from last count when using CUMULATE window after restart flink-sql job?
Posted by
Jark Wu-3 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/How-to-recovery-from-last-count-when-using-CUMULATE-window-after-restart-flink-sql-job-tp43577p43588.html
Hi,
When restarting a Flink job, Flink will start the job with an empty state, because this is a new job.
This is not a special for CUMULATE window, but for all Flink jobs.
If you want to restore a Flink job from a state/savepoint, you have to specify the savepoint path, see [1].
Best,
Jark
Hi, please use user mailing list only to discuss these issues.
Hi
I have tried cumalate window function in Flink-1.13 sql to accumulate data from Kafka. When I restart a cumulate window sql job, last count state is not considered and the count state accumulates from 1. Any solutions can help recovery from last count state when restarting Flink-sql job?
Thank you