Skip to content

5.1 Chunk-Oriented Processing does not represent the actual implementation [BATCH-2423] #1179

Closed
@spring-projects-issues

Description

@spring-projects-issues

Iwasa Kazmi opened BATCH-2423 and commented

In reference documentation, diagram and code of concept in the section "5.1 Chunk-Oriented Processing" http://docs.spring.io/spring-batch/trunk/reference/html/configureStep.html#chunkOrientedProcessing
seems to be different from the actual implementation of the ChunkOrientedTasklet.

According to the description, ItemProcessor will be called immediately after the ItemReader was called once.

In actual implementation of ChunkOrientedTasklet, ItemReader will be called repeatedly for collecting item, then ItemProcessor will be called repeatedly for each collected items.

Current description may lead to the wrong step design and may lead to the performance issue.


Affects: 4.0.1, 4.1.0.RC1

Reference URL: https://stackoverflow.com/questions/26655281/spring-batch-documentation-about-chunk-oriented-step-versus-reality

Issue Links:

1 votes, 3 watchers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions