We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 929a551 commit a1ce07eCopy full SHA for a1ce07e
spring-batch-docs/src/main/asciidoc/scalability.adoc
@@ -338,8 +338,8 @@ configuration:
338
[source, java, role="javaContent"]
339
----
340
@Bean
341
-public Step step1Manager() {
342
- return stepBuilderFactory.get("step1.manager")
+public Step step1Manager(JobRepository jobRepository) {
+ return new StepBuilder("step1.manager", jobRepository)
343
.<String, String>partitioner("step1", partitioner())
344
.step(step1())
345
.gridSize(10)
0 commit comments