Configuring ShardingSphere's modes
This section provides the basic operations' mode configurations. In addition to cluster deployment in a production scenario, a corresponding operation mode such as standalone mode for development and automation testing scenarios is also provided for engineers. The three operation modes provided by Apache ShardingSphere are memory mode, standalone mode, and cluster mode. Memory mode is not covered here, as it is the standard auto mode that ShardingSphere uses to run.
Java configuration items
The tables in this section will show you the configuration items for modes that you can configure.
The main class is ModeConfiguration
:
For Standalone mode, the main class is StandalonePersistRepositoryConfiguration
:
When it comes to Cluster mode, the main class is ClusterPersistRepositoryConfiguration
:
A Java example
This part provides...