Hi Maxim

You could write a script yourself which triggers the cancel with savepoint and 
then starts a new version using the savepoint that was created during the 
cancel.

However, I’ve built a tool that allows you to perform these steps more easily: 
https://github.com/ing-bank/flink-deployer. The deployer will allow you to 
deploy or upgrade your jobs. All you need to do is integrate it into your CI/CD.

Kind regards

Marc
On 16 Jul 2019, 02:46 +0200, Maxim Parkachov <lazy.gop...@gmail.com>, wrote:
> Hi,
>
> I'm trying to bring my first stateful streaming Flink job to production and 
> have trouble understanding how to integrate it with CI/CD pipeline. I can 
> cancel the job with savepoint, but in order to start new version of 
> application I need to specify savepoint path manually ?
>
> So, basically my question, what is best practice of automatically restarting 
> or deploying new version of stateful streaming application ? Every tip is 
> greatly appreciated.
>
> Thanks,
> Maxim.

Reply via email to