0

We have existing Spring Batch Application, that we want to make scalable to run on multiple nodes.

For example, I would like to run a job on different worker servers. In the case, where I have a Job A and a Job B, run Job A on a instance of the worker server and Job B in another instance of the worker server.

In the spring batch integration doc I find an explanation on the remote partitioning of setps. However I can't figure out how we can start several nodes of a worker server from the master server.

If you can give me some indication of the way that I can follow. Thanks a lot for the help in advance.

katy
  • 61
  • 4

1 Answers1

1

This is outside the scope of Spring Batch. Consider Spring Cloud Data Flow.

https://spring.io/projects/spring-cloud-dataflow

Gary Russell
  • 166,535
  • 14
  • 146
  • 179
  • thank you for your answer, Would you have an example to follow to advise me please? – katy Mar 08 '21 at 17:21
  • It looks like there is a batch sample on the project page https://spring.io/projects/spring-cloud-dataflow#samples; you should also refer to the reference documentation. – Gary Russell Mar 08 '21 at 17:33
  • What do you think about spring lightmin? i found this example on github https://github.com/tuxdevelop/spring-batch-lightmin – katy Mar 09 '21 at 08:26
  • I am not familiar with it. – Gary Russell Mar 09 '21 at 14:27