conf/server.yaml
and documents begin with config-
prefix, conf/config-xxx.yaml
for example, to configure sharding rules and readwrite-splitting rules. Please refer to Configuration Manual for the configuration method.bin/start.sh
for Linux operating system; run bin/start.bat
for Windows operating system to start ShardingSphere-Proxy. To configure start port and document location, please refer to Quick Start.psql -U root -h 127.0.0.1 -p 3307
.ext-lib/
.mysql -u root -h 127.0.0.1 -P 3307
.org.opengauss
to folder ext-lib/
.gsql -U root -h 127.0.0.1 -p 3307
.Integrated ZooKeeper Curator client by default.
ext-lib/
.Same with ShardingSphere-JDBC. please refer to Distributed Transaction for more details.
When developer need to use user-defined algorithm, should use the way below to configure algorithm, use sharding algorithm as example.
ShardingAlgorithm
interface.META-INF/services
directory in the resources
directory.org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
in the META-INF/services
directory.org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
ext-lib/
folder.3307
port in default. Users can start the script parameter as the start port number, like bin/start.sh 3308
.conf/server.yaml
to configure the registry center, authentication information and public properties.config-
prefix as a logic data source.