Package io.github.jchejarla.springbatch.clustering.autoconfigure
package io.github.jchejarla.springbatch.clustering.autoconfigure
Spring Boot auto-configuration and the configuration-property surface for clustering.
BatchClusterProperties binds the spring.batch.cluster.* namespace, and the
auto-configuration wires the coordination service, partition handler, node manager, recovery
manager, worker runner, schedulers, and actuator beans. Everything here activates only when
spring.batch.cluster.enabled=true.
-
ClassDescriptionOptionally creates the cluster coordination tables (
BATCH_NODES,BATCH_JOB_COORDINATION,BATCH_PARTITIONS,BATCH_JOB_PHASE_EVENTS) on startup, mirroring Spring Batch's own schema initialization.Configuration for database-coordinated Spring Batch clustering, bound from thespring.batch.cluster.*namespace.Fails fast at startup when clustering is enabled but the activeJobRepositoryis the in-memoryResourcelessJobRepository— the Spring Batch 6 default.