Mode Configuration #
Configuration entry #
Class name: org.apache.shardingsphere.infra.config.mode.ModeConfiguration
configurable properties:
| Name | Data type | Description | Default value |
|---|---|---|---|
| type | String | Operation mode type Optional configuration: Memory, Standalone, Cluster | Memory |
| repository | PersistRepositoryConfiguration | Persistence repository configuration Memory type does not need to be persistent, it can be null Standalone type uses StandalonePersistRepositoryConfigurationCluster type uses ClusterPersistRepositoryConfiguration |
Cluster Persistence Configuration #
Class name: org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepositoryConfiguration
configurable properties:
| Name | Data type | Description |
|---|---|---|
| type | String | Persistence repository type |
| namespace | String | registry namespace |
| serverLists | String | Registry connection address |
| props | Properties | Persistence repository required properties |
For details on persistent warehouse types, refers to Built-in persistent repository types list.