Skip to content

Introduce RemoteChunkingManagerBuilder and deprecate RemoteChunkingManagerStepBuilder and its factory #5598

Closed

Description

@fmbenhassine

RemoteChunkingManagerStepBuilder extends the deprecated FaultTolerantStepBuilder, so it exposes APIs that are deprecated and scheduled for removal in 7.0 (keyGenerator, the Spring Retry RetryListener, the legacy chunk engine, etc). The same applies to RemoteChunkingManagerStepBuilderFactory, which is exposed as a bean by @EnableBatchIntegration.

This issue introduces a new RemoteChunkingManagerBuilder, based on StepBuilder, that only relies on non-deprecated APIs and is consistent with RemoteChunkingWorkerBuilder. It sets up a ChunkMessageChannelItemWriter and returns a regular ChunkOrientedStepBuilder:

Step managerStep = new RemoteChunkingManagerBuilder("managerStep", jobRepository)
        .outputChannel(requests)
        .inputChannel(replies)
        .chunk(100)
        .reader(itemReader)
        .transactionManager(transactionManager)
        .build();

RemoteChunkingManagerStepBuilder and RemoteChunkingManagerStepBuilderFactory should be deprecated in 6.1 in favor of it, for removal in 7.0.

Activity

  1. added this to the 6.1.0-RC1 milestone on Oct 14, 2026
  2. self-assigned this
    on Oct 14, 2026
  3. added a commit that references this issue on Oct 15, 2026
    7353cd6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions