Each partition is run within it's own thread if you're using multi-threaded partitioning. Granted, that doesn't stop you from doing other thread related things within the worker step...
0
votes
When spring batch uses a partitioning strategy, a thread will be used by each partition and it will execute the whole complete step. This avoids concurrency problems with respect to simple multithreading strategies
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more