Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Manual chunk commit

  1. #11
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Could you peek ahead and try to detect the invalid group (as per the original post in this thread), then force a commit using a completion policy and deal with marking incomplete groups in a listener, or possible the writer. Then the next chunk will start with the peeked item (which you know is part of the next group)?

    Or you could do the group validation as a completely separate step?

  2. #12
    Join Date
    Jan 2011
    Posts
    6

    Default

    Quote Originally Posted by Dave Syer View Post
    Could you peek ahead and try to detect the invalid group (as per the original post in this thread), then force a commit using a completion policy and deal with marking incomplete groups in a listener, or possible the writer. Then the next chunk will start with the peeked item (which you know is part of the next group)?

    Or you could do the group validation as a completely separate step?
    The group validation as a separate step is an interesting idea that we hadn't thought of. That might work, although right now we're working on a hack to get it working before we go through and completely rewrite the batch job for a new log format.

    Thanks for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •