Announcement Announcement Module
Collapse
No announcement yet.
Best approach for using transactions for a long-running tasklet Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Best approach for using transactions for a long-running tasklet

    Hi,
    we are planning to use Spring Batch in our project for running Hadoop Jobs.
    Each hadoop job will be started in a separate Tasklet and such job can run several hours.
    As far as I've read in docs and seen in the source code of TaskletStep tasklet execution is made inside of a transaction,
    in our case it means that we will have a transaction open for several hours which doesn't seem good.
    What is the best way to deal with transactions in our case?
Working...
X