Spring Batch DB Cluster Partitioning¶
Database-coordinated distributed partitioning for Spring Batch — scalable, fault-tolerant partitioned job execution across JVM nodes, coordinated entirely through the relational database you already operate. No additional messaging or coordination infrastructure to deploy or monitor.
Versioned documentation
Use the version selector (top of the page) to view the documentation that matches the release you are running. Each release publishes its own docs and API reference.
Start here¶
- Installation — add the dependency, create the schema, enable clustering.
- Configuration — the full
spring.batch.cluster.*reference. - Design — architecture, the decentralized-master model, and fault tolerance.
- FAQ — common questions, including how this differs from broker-based partitioning.
- API (Javadoc) — the published API for this version.
What it is¶
The node that launches a job becomes that job's master: it queries the live worker count, sizes the partitioning to the cluster that actually exists, distributes work through the database, and monitors completion. Workers claim partitions transactionally and execute the standard Spring Batch step. Failover and recovery are handled through the same database — no message broker required.