I am new to spring batch and has some questions regarding pause/resume. After reading spring batch documentation, there doesn't seem to have any built-in pause or resume functions. However, there is this use case i found from the main site:
http://docs.spring.io/spring-batch/2.0.x/cases/pause.html
There are no sample codes provided or is there any place I could find these samples?
In Spring batch, I understand there is a stop and restart function built-in. Could I use this as a form of pause and resume? Or there is another better way of doing it?
Stop/restart is essentially pause and resume. It allows you to programmatically stop a running job and pick up where it left off.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With