title: grid-size from environment variable in Spring Batch
body: <p>I'm following partition pattern for Spring Batch. Currently I'm using a fixed grid-size of 10. Here is the master job configuration:</p>
  
  <pre><code>&lt;batch:step id="master"&gt;
        &lt;batch:partition step="slave" partitioner="rangePartitioner"&gt;
           &lt;batch:handler grid-size="10" task-executor="taskExecutor" /&gt;
        &lt;/batch:partition&gt;
  &lt;/batch:step&gt;
  </code></pre>
  
  <p>Is this possible to assign the grid-size from jvm arguments or spring application.properties file?</p>