Spring-Batch How skip exceptions works for composite writers
问题 I am using Spring Batch and my step configuration is as below: @Bean public Step testStep( JdbcCursorItemReader<TestStep> testStageDataReader, TestStepProcessor testStepProcessor, CompositeItemWriter<Writer> testWriter, PlatformTransactionManager transactionManager, JobRepository jobRepository) { return stepBuilderFactory .get("TESTING") .<>chunk(100) .reader(testStageDataReader) .processor(testStepProcessor) .writer(testWriter) .faultTolerant() .skip(DataIntegrityViolationException.class)