i have a batch step
<batch:step id="read-process-input-file">
<batch:tasklet>
<batch:chunk commit-interval=1000
reader="item-reader"
processor="item-processor"
writer="item-writer"
skip-limit=1000>
<batch:skippable-exception-classes>
<batch:include class="java.lang.Exception"/>
</batch:skippable-exception-classes>
</batch:chunk>
</batch:tasklet>
<batch:listeners>
<batch:listener ref="entityOperationExceptionHandler"/>
<batch:listener ref="filenameListener"/>
<batch:listener ref="promotionListener"/>
</batch:listeners>
</batch:step>
- How does reader and processor flow works?Does reader reads a chunk and waits for processor to process it or it reads all the chunks in a go.