I am busy handling a huge CSV file in input where the staging functionality may be a killer as the actual processing is very simple (sql insert).
I wanted to have a partition where each partition would stream part of the file (line 0 to line 9999, line 10000 to 19999, etc). The restart ability of each partition could be guaranteed by storing the chunk boundary in the execution context and streaming again the file upon restart (start + read.count)
If it's not built-in in Spring batch, I'd like to understand what's wrong with my reasoning or is it simply a valid feature that is not implemented?
Thanks!


Reply With Quote
