[BATCH-2721] Incorrect remote chunking sample in documentation Created: 14/May/18  Updated: 17/Dec/19  Resolved: 18/May/18

Status: Resolved
Project: Spring Batch
Component/s: Documentation
Affects Version/s: 4.0.1
Fix Version/s: 4.1.0, 4.0.2, 4.1.0.M1

Type: Bug Priority: Minor
Reporter: Mahmoud Ben Hassine Assignee: Mahmoud Ben Hassine
Resolution: Fixed Votes: 0
Labels: pull-request-submitted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Pull Request URL: https://github.com/spring-projects/spring-batch/pull/603

 Description   

There are some minor errors in the remote chunking section of the documentation:

  • First, the diagram shows an item reader on the worker side, but in remote chunking, the reading happens on the master side and items are sent over the wire
  • The Step4 label is better if it was Step3
  • The chunkJob method of the code example takes an ItemReader as parameter but uses a method call/reference in the stepBuilderFactory.reader method
  • The chunkHandler bean is not needed on the master side
  • According to the documentation, the middleware has to be durable, but in the code example, we declare the JMS subscription as non durable: .configureListenerContainer(c -> c.subscriptionDurable(false))
  • The term "slave" is better renamed to "worker"

It would be also great to add a remote chunking sample to the spring-batch-samples module.



 Comments   
Comment by Spring Issuemaster [ 17/Dec/19 ]

The Spring Batch Framework has moved from Jira to GitHub Issues. This issue was migrated to spring-projects/spring-batch#886.

Generated at Mon May 25 02:53:12 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.