Configuration – mode
The mode operation is very easy for developers and testers to use, and it also contains the production environment's deployment cluster operation mode.
ShardingSphere provides three operation modes, namely memory mode, local mode, and cluster mode. ShardingSphere mode doesn't support modifications and changes by DistSQL. Therefore, here, we will only present the YAML configuration method.
In the following sections, you will find that we have broken down the ShardingSphere mode configuration items into mode
, repository
, and props
sections:
mode
: With the operation mode configuration, you can configure memory, a single machine, and cluster mode. When using standalone mode or cluster mode, you can choose whether to override the remote configuration with the local configuration:type
: The operation mode: memory, standalone, and clusterrepository
: The operation mode configurationoverwrite
: Whether to overwrite remote configuration:true...