I am building a Spring Batch application.
Suppose that I have a Job which executes, for example:
Suppose that I have a TaskExecutor, allowing the Chunk-oriented step(s) to be parallelyzed.
Are there any benefits in using 2-Steps instead of putting all these operations in a single one?
My doubt is that using 2-Steps causes the "already finished files" to wait for all the pool to complete, causing inefficiency.
Thanks in advance