StandalonePersistRepository

Fully-qualified class name

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

Definition

Standalone mode configuration information persistence definition

Implementation classes

Configuration TypeDescriptionFully-qualified class name
H2H2-based persistenceorg.apache.shardingsphere.mode.repository.standalone.h2.H2Repository

ClusterPersistRepository

Fully-qualified class name

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

Definition

Cluster mode configuration information persistence definition

Implementation classes

Configuration TypeDescriptionFully-qualified class name
ZooKeeperZooKeeper based persistenceorg.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository
etcdEtcd based persistenceorg.apache.shardingsphere.mode.repository.cluster.etcd.EtcdRepository
NacosNacos based persistenceorg.apache.shardingsphere.mode.repository.cluster.nacos.NacosRepository
ConsulConsul based persistenceorg.apache.shardingsphere.mode.repository.cluster.consul.ConsulRepository

GovernanceWatcher

Fully-qualified class name

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

Definition

Governance listener definition

Implementation classes

Configuration TypeDescriptionFully-qualified class name
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/compute_nodesCompute node state change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.compute.watcher.ComputeNodeStateChangedWatcher
Types: ADDED, DELETED; WatchingKeys: /lock/database/locksDatabase lock state change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.lock.database.watcher.DatabaseLockChangedWatcher
Types: ADDED, DELETED; WatchingKeys: /lock/distributed/locksDistributed lock change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.lock.distributed.watcher.DistributedLockChangedWatcher
Types: UPDATED; WatchingKeys: /rulesThe global rule configuration change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.GlobalRuleChangedWatcher
Types: ADDED, UPDATED, DELETED; WatchingKeys: /metadata/${databaseName}Metadata change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.metadata.watcher.MetaDataChangedWatcher
Types: ADDED, UPDATED; WatchingKeys: /propsProperty change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.PropertiesChangedWatcher
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/storage_nodesStorage node state change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.storage.watcher.StorageNodeStateChangedWatcher