Retry feature is not working in Spring Batch
问题 I have a batch job where i am using ScriptBatch.3.0.x version. My use-case is to retry the job incase of any intermediate failures in between. I am using the Chunk based processing and StepBuilderFactory for a job. I could not see any difference by adding the retry in it. return stepBuilderFactory.get("ValidationStepName") .<Long, Info> chunk(10) .reader(.....) .processor(.....) // .faultTolerant() // .retryLimit(5) // .retryLimit(5).retry(Exception.class) .writer(......) .faultTolerant()