StandalonePersistRepository

全限定类名

org.apache.shardingsphere.mode.repository.standalone.StandalonePersistRepository

定义

单机模式配置信息持久化定义

已知实现

配置标识详细说明全限定类名
H2基于 H2 的持久化org.apache.shardingsphere.mode.repository.standalone.h2.H2Repository

ClusterPersistRepository

全限定类名

org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository

定义

集群模式配置信息持久化定义

已知实现

配置标识详细说明全限定类名
ZooKeeper基于 ZooKeeper 的持久化org.apache.shardingsphere.mode.repository.cluster.zookeeper.ZookeeperRepository
etcd基于 Etcd 的持久化org.apache.shardingsphere.mode.repository.cluster.etcd.EtcdRepository
Nacos基于 Nacos 的持久化org.apache.shardingsphere.mode.repository.cluster.nacos.NacosRepository
Consul基于 Consul 的持久化org.apache.shardingsphere.mode.repository.cluster.consul.ConsulRepository

GovernanceWatcher

全限定类名

org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.GovernanceWatcher

定义

治理监听器定义

已知实现

配置标识详细说明全限定类名
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/compute_nodes/status集群状态变化监听器org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.cluster.watcher.ClusterStateChangedWatcher
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/compute_nodes计算节点状态变化监听器org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.compute.watcher.ComputeNodeStateChangedWatcher
Types: ADDED, UPDATED, DELETED; WatchingKeys: /metadata/${databaseName}元数据变化监听器org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.metadata.watcher.MetaDataChangedWatcher
Types: ADDED, UPDATED; WatchingKeys: /props属性变化监听器org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.PropertiesChangedWatcher
Types: UPDATED; WatchingKeys: /rules全局规则变化监听器org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.GlobalRuleChangedWatcher
Types: ADDED, UPDATED, DELETED; WatchingKeys: /sys_data系统库变化监听器org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.ShardingSphereDataChangedWatcher
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/storage_nodes存储节点状态变化监听器org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.storage.watcher.StorageNodeStateChangedWatcher
Types: DELETED; WatchingKeys: /lock/exclusive/locks/cluster_lock集群锁释放监听器org.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.cluster.watcher.lock.ClusterLockDeletedWatcher