Uploaded image for project: 'Spring Batch'
  1. Spring Batch
  2. BATCH-2441

JSR 352 jobs don't support chunk/step listeners when using partitions

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.5
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      Specifically, when leveraging a partition collector, if there are chunk/step listeners configured, the job fails to even initialize. When using a partition collector without any chunk/step listeners, the collector looks like its initialized properly. I did a bit of debugging and it looks like its failing due to a null check in the PartitionCollectorAdapter's constructor, checking for a Queue implementation. For some reason, the flow instantiating this class run's slightly differently when using listeners.

      See the referenced github branch to reproduce the issue.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sparty02 Ryan Dunckel
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: