[BATCH-2730] Incorrect remote partitioning sample in the documentation Created: 08/Jun/18 Updated: 05/Jul/18 Resolved: 05/Jul/18
|Affects Version/s:||4.0.1, 4.1.0.M1|
|Fix Version/s:||4.0.2, 4.1.0.M2|
|Reporter:||Mahmoud Ben Hassine||Assignee:||Mahmoud Ben Hassine|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Pull Request URL:||https://github.com/spring-projects/spring-batch/pull/612|
There are some minor errors in the remote partitioning section of the documentation. The code example of the partitioned step is incorrect:
while it should be:
Moreover, the code example shows all beans in the same bloc without mentioning which ones should be declared on the master side and which ones should be declared on the worker side. This is confusing. It should either use profiles or separate the master's configuration from the worker's configuration.
Finally, it would be great to add a remote partitioning sample to the spring-batch-samples module (current samples show only local partitioning).