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
JDBCJDBC-based persistenceorg.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository

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.ZookeeperRepository
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_nodes/statusCluster state change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.cluster.watcher.ClusterStateChangedWatcher
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, 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: UPDATED; WatchingKeys: /rulesThe global rule configuration change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.GlobalRuleChangedWatcher
Types: ADDED, UPDATED, DELETED; WatchingKeys: /sys_dataSystem database change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.config.watcher.ShardingSphereDataChangedWatcher
Types: ADDED, UPDATED, DELETED; WatchingKeys: /nodes/storage_nodesStorage node state change listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.storage.watcher.StorageNodeStateChangedWatcher
Types: DELETED; WatchingKeys: /lock/exclusive/locks/cluster_lockCluster lock release listenerorg.apache.shardingsphere.mode.manager.cluster.coordinator.registry.status.cluster.watcher.lock.ClusterLockDeletedWatcher