Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-314

Implement ItemReader that reads from multiple resources

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.4.0.Final
    • 1.3.0.Beta4
    • jberet-support
    • None

      Current implementations of ItemReader all take a single resource as the input. Oftentimes batch applications need to read from multiple resources, e.g., all CSV files under the same directories. Need to implement a MultiResourceItemReader that reads from multiple resources as if they are a single logic unit.

      Note that it can be hard to do rollback across resource boundaries, for instance, if it failed at the beginning of the 2nd file with the current chunk spanning across 2 files. Or should we just commit the chunk at the end of one resource, regardless of the item count?

            weli@redhat.com Weinan Li
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: