DeployerStepExecutionHandler Created a PartitionHandler that delegates to a TaskLauncher from Spring Cloud Deployer to execute workers. Resolves spring-cloud/spring-cloud-task#109 Updates per code review
27 lines
571 B
Plaintext
27 lines
571 B
Plaintext
= Partitioned Job
|
|
|
|
An example of the usage of the `DeployerPartitionHandler` and
|
|
`DeployerStepExecutionHandler` to partition a Spring Batch job.
|
|
|
|
== Requirements:
|
|
|
|
* Java 7 or Above
|
|
|
|
== Build:
|
|
|
|
[source,shell,indent=2]
|
|
----
|
|
$ ./mvnw clean install
|
|
----
|
|
|
|
== Execute:
|
|
|
|
[source,shell,indent=2]
|
|
----
|
|
$ java -jar -Dspring.profiles.active=master target/partitioned-batch-job-1.0.0.BUILD-SNAPSHOT.jar
|
|
----
|
|
|
|
== Dependencies:
|
|
|
|
A datasource (not in memory) must be configured based on normal Spring Boot conventions
|
|
(application.properties/application.yml/environment variables/etc). |