Root Configuration

Class name: org.apache.shardingsphere.infra.config.mode.ModeConfiguration

Attributes:

NameDataTypeDescriptionDefault Value
typeStringType of mode configuration
Values could be: Memory, Standalone, Cluster
Memory
repositoryPersistRepositoryConfigurationPersist repository configuration
Memory type does not need persist, could be null
Standalone type uses StandalonePersistRepositoryConfiguration
Cluster type uses ClusterPersistRepositoryConfiguration
overwritebooleanWhether overwrite persistent configuration with local configurationfalse

Standalone Persist Configuration

Class name: org.apache.shardingsphere.mode.repository.standalone.StandalonePersistRepositoryConfiguration

Attributes:

NameDataTypeDescription
typeStringType of persist repository
propsPropertiesProperties of persist repository

Cluster Persist Configuration

Class name: org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepositoryConfiguration

Attributes:

NameDataTypeDescription
typeStringType of persist repository
namespaceStringNamespace of registry center
serverListsStringServer lists of registry center
propsPropertiesProperties of persist repository

Please refer to Builtin Persist Repository List for more details about type of repository.