<chunk reader="customerItemReader" writer="outputWriter"
By running a job with this step configured, instead of your job ending with the status COMPLETED
if no input was found, the job will fail, allowing you to obtain the expected input and rerun the job.
Reading and writing take up the vast majority of a batch process and as such, is one of the most
important pieces of the Spring Batch framework. In this chapter, you took a thorough (but not
exhaustive) look at the ItemReader options within the framework. Now that you can read in an item, you
need to be able to do something with it. ItemProcessors, which make things happen, are covered in the