Identify which chunk has failed in chunk based step in Spring Batch
问题 I am developing a Spring Batch App - How to understand or write code for ? Identify which chunk has failed in chunk based step? How to identify if reader query taking how much time? 回答1: Identify which chunk has failed in chunk based step? A ChunkListener allows you to achieve that. The method afterChunkError will be called when an error occurs in a given chunk How to identify if reader query taking how much time? It depends on the reader. ItemReadListener is called around each read operation