https://grokonez.com/spring-framework/spring-batch/use-spring-batch-restartable-function
How to use Spring Batch Restartable Function
SpringBatch provides a restartable mechanics with a Job, in the How to use Spring Batch Restartable Function tutorial, JavaSampleApproach will present to you the principle of this function with SpringBoot.
Related Post:
Create a Batch Job which has a simple step with a Reader & Writer.
Reader reads a list file-paths then pass them to a Writer. The Write uses file paths to process content of each file.
With created JOB, test a restartable function base on FileNotFound Error.
Note: a Batch Job is created with restartable default. Spring Batch also supports configuration to prevent the restartable function.
https://grokonez.com/spring-framework/spring-batch/use-spring-batch-restartable-function
How to use Spring Batch Restartable Function
#springbatch #springboot #restartable