Registry Center Configuration

The component which is used to register and coordinate the distributed behavior of jobs, currently only supports ZooKeeper.

Class name: org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperConfiguration

Configuration:

NameConstructor injection
serverListsYes
namespaceYes
baseSleepTimeMillisecondsNo
maxSleepTimeMillisecondsNo
maxRetriesNo
sessionTimeoutMillisecondsNo
connectionTimeoutMillisecondsNo
digestNo

Job Configuration

Class name: org.apache.shardingsphere.elasticjob.api.JobConfiguration

Configuration:

NameConstructor injection
jobNameYes
shardingTotalCountYes
cronNo
shardingItemParametersNo
jobParameterNo
monitorExecutionNo
failoverNo
misfireNo
maxTimeDiffSecondsNo
reconcileIntervalMinutesNo
jobShardingStrategyTypeNo
jobExecutorServiceHandlerTypeNo
jobErrorHandlerTypeNo
jobListenerTypesNo
descriptionNo
propsNo
disabledNo
overwriteNo