Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spring-batch-docs/modules/ROOT/pages/scalability.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ The manager component is a single process, and the workers are multiple remote p
This pattern works best if the manager is not a bottleneck, so the processing must be more
expensive than the reading of items (as is often the case in practice).

The manager is an implementation of a Spring Batch `Step` with the `ItemWriter` replaced
The manager is an implementation of a Spring Batch `Step` with the `ItemReader` replaced
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current wording is actually correct: The manager replaces the provided item writer with a special writer that sends chunk requests over the wire. Here is the relevant part of the code: https://github.com/spring-projects/spring-batch/blob/main/spring-batch-integration/src/main/java/org/springframework/batch/integration/chunk/RemoteChunkingManagerStepBuilder.java#L200-L206

by a generic version that knows how to send chunks of items to the middleware as
messages. The workers are standard listeners for whatever middleware is being used (for
example, with JMS, they would be `MesssageListener` implementations), and their role is
Expand Down