Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.1-incubating
-
None
-
None
Description
We have a batch which has a huge amount of work to do. Usually this batch processes in a day-by-day manner which means that we cannot use a fixed item-count and we need a custom CheckpointAlgorithm.
The problem with CheckpointAlgorithm is that it doesn't have any info about the data it processes. So what about supplying a CheckpointAlgorithm which uses a @StepScoped holder which just contains a boolean. This might then be either set by the ItemReader or ItemProcessor to signal that a certain point is reached and the chunk shall be committed.