复古 护眼 海天 深邃 暗黑 默认

注册中心配置

用于注册和协调作业分布式行为的组件,目前仅支持 ZooKeeper。

类名称:org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperConfiguration

可配置属性:

属性名 构造器注入
serverLists
namespace
baseSleepTimeMilliseconds
maxSleepTimeMilliseconds
maxRetries
sessionTimeoutMilliseconds
connectionTimeoutMilliseconds
digest

作业配置

类名称:org.apache.shardingsphere.elasticjob.api.JobConfiguration

可配置属性:

属性名 构造器注入
jobName
shardingTotalCount
cron
timeZone
shardingItemParameters
jobParameter
monitorExecution
failover
misfire
maxTimeDiffSeconds
reconcileIntervalMinutes
jobShardingStrategyType
jobExecutorThreadPoolSizeProvider
jobErrorHandlerType
jobListenerTypes
description
props
disabled
overwrite