Announcement Announcement Module
No announcement yet.
Is "Concurrent execution of chunks" supported restart? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is "Concurrent execution of chunks" supported restart?

    In the Spring Batch feature documentation, it mentions:
    # Concurrent execution of chunks (a chunk is a batch of items processed in the same transaction) through the Spring TaskExecutor abstraction.

    I think it refers that we can use some sort of 'async' taskexecutor to achieve the concurrent execution purpose. As far as I know, readers / writers are using some sort of 'marker' to support restart. This strategy require the items are in deterministic size and order. If the chunks are executed in parallel, will the 'restart' become unsupported?

  • #2
    Any updates on the post?

    Thanks in advance.


    • #3
      I'm using an async task executor and my batch is restartable (I've verified it). I'm not sure if chunks are processed concurrently or how that is handled internally.