运行模式
运行模式
StandalonePersistRepository
全限定类名
org.apache.shardingsphere.mode.repository.standalone.StandalonePersistRepository
定义
单机模式配置信息持久化定义
已知实现
| 配置标识 | 详细说明 | 全限定类名 |
|---|---|---|
| JDBC | 基于 JDBC 的持久化 | org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository |
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 |