Announcement Announcement Module
Collapse
No announcement yet.
Will ItemReaders need to be transactional after chunk-oriented M4? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Will ItemReaders need to be transactional after chunk-oriented M4?

    I am just coding a custom ItemReader (LDAP) where implementing transactional behavior is painful. This made me wondering whether after chunk-oriented M4 release ItemReaders will still need to be transactional or this concern will be completely pushed up on higher (I assume Chunk) level.

    Thanks

  • #2
    We're still working through that, and should hopefully have a definitive answer next week. They definitely won't be the same type of transactional as they are now, where they need to worry about rollbacks, since the new ChunkProvider should just give the same chunk back to a ChunkExecutor. However, if you intend your ItemReader to be restartable, then there will need to be some way to 'mark' it's current location. I would add a mark method for now, it can always be modified to fit any interface changes we make fairly easily.

    Comment

    Working...
    X