Class BatchClusterProperties
java.lang.Object
io.github.jchejarla.springbatch.clustering.autoconfigure.BatchClusterProperties
@ConfigurationProperties(prefix="spring.batch.cluster")
public class BatchClusterProperties
extends Object
Configuration for database-coordinated Spring Batch clustering, bound from the
spring.batch.cluster.* namespace.
Clustering is opt-in: set spring.batch.cluster.enabled=true to activate it. All other
properties are intervals and thresholds (in milliseconds) that tune heartbeating, node
liveness/cleanup, worker polling, and recovery. The defaults suit small-to-medium clusters
(roughly 2–20 nodes); tune them to trade coordination-database load against failure-detection
latency.
- Author:
- Janardhan Chejarla
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BatchClusterProperties
public BatchClusterProperties()
-