title: Is there a way to limit the maximum number of processing records in a Job of Spring Batch?
body: <p>Is there a way to limit the maximum number of processing records in a job of Spring Batch?</p>
  
  <p>I need to have a configuration by which I could control the maximum number of records that can be processed by a job.</p>
  
  <p>The job is reading from Database using a Stored Procedure, I could limit the maximum number of fetched rows in the Procedure itself, but I am looking for any features provided in Spring Batch for that and I am not able to find it yet.</p>