Skip to content

Commit 0c4f2a6

Browse files
committed
Fix outdated references in scalability documentation
Remove references to removed throttleLimit/throttle-limit. Replace broken partition sample link with updated path. Closes #5355 Signed-off-by: hanweiwei <duzielww@163.com> Made-with: Cursor
1 parent d8632a3 commit 0c4f2a6

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

spring-batch-docs/modules/ROOT/pages/scalability.adoc

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,8 @@ public Step step1Manager(JobRepository jobRepository) {
344344
}
345345
----
346346
+
347-
Similar to the multi-threaded step's `throttleLimit` method, the `gridSize`
348-
method prevents the task executor from being saturated with requests from a single
349-
step.
347+
The `gridSize` method prevents the task executor from being saturated with requests from a
348+
single step.
350349
351350
XML::
352351
+
@@ -362,17 +361,12 @@ configuration:
362361
</step>
363362
----
364363
+
365-
Similar to the multi-threaded step's `throttle-limit` attribute, the `grid-size`
366-
attribute prevents the task executor from being saturated with requests from a single
367-
step.
364+
The `grid-size` attribute prevents the task executor from being saturated with requests
365+
from a single step.
368366
369367
====
370368

371369

372-
The unit test suite for
373-
https://github.com/spring-projects/spring-batch/tree/main/spring-batch-samples/src/main/resources/jobs[Spring
374-
Batch Samples] (see `partition*Job.xml` configuration) has a simple example that you can copy and extend.
375-
376370
Spring Batch creates step executions for the partition called `step1:partition0` and so
377371
on. Many people prefer to call the manager step `step1:manager` for consistency. You can
378372
use an alias for the step (by specifying the `name` attribute instead of the `id`
@@ -554,6 +548,8 @@ The following example shows how to define late binding in XML:
554548
555549
====
556550

551+
You can find a complete example in the https://github.com/spring-projects/spring-batch/tree/main/spring-batch-samples/src/main/java/org/springframework/batch/samples/partitioning[Partitioning Sample].
552+
557553
[[remoteStep]]
558554
== Remote Step execution
559555

0 commit comments

Comments
 (0)