Root Configuration
Class name: org.apache.shardingsphere.infra.config.mode.ModeConfiguration
Attributes:
Name | DataType | Description | Default Value |
---|---|---|---|
type | String | Type of mode configuration Values could be: Memory, Standalone, Cluster | Memory |
repository | PersistRepositoryConfiguration | Persist repository configuration Memory type does not need persist, could be null Standalone type uses StandalonePersistRepositoryConfiguration Cluster type uses ClusterPersistRepositoryConfiguration | |
overwrite | boolean | Whether overwrite persistent configuration with local configuration | false |
Standalone Persist Configuration
Class name: org.apache.shardingsphere.mode.repository.standalone.StandalonePersistRepositoryConfiguration
Attributes:
Name | DataType | Description |
---|---|---|
type | String | Type of persist repository |
props | Properties | Properties of persist repository |
Cluster Persist Configuration
Class name: org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepositoryConfiguration
Attributes:
Name | DataType | Description |
---|---|---|
type | String | Type of persist repository |
namespace | String | Namespace of registry center |
serverLists | String | Server lists of registry center |
props | Properties | Properties of persist repository |
Please refer to Builtin Persist Repository List for more details about type of repository.
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .