I have batch job which reads data from bulk files, process it and insert in DB.
I'm using spring's partitioning features using the default partition handler.
<bean class="org.spr...TaskExecutorPartitionHandler">
<property name="taskExecutor" ref="taskExecutor"/>
<property name="step" ref="readFromFile" />
<property name="gridSize" value="10" />
</bean>
What is the significance of the gridSize
here ? I have configured in such a way that it is equal to the concurrency in taskExecutor.