Replies: 1 comment 1 reply
-
This is a good idea. Converting the configuration to DistSQL can indeed help users reduce the trouble caused by changes in the configuration file format. Speaking back of |
Beta Was this translation helpful? Give feedback.
-
DistSQLis supported by ShardingSphere-Proxy only, it maybe not enough.
I just open to discuss the benefit of support DistSQL with ShardingSphere-JDBC too.
For the 3.x or 4.x version of Apache ShardingSphere, there are lots of configuration types, such as: Java Code, YAML, Spring namespace and Spring boot starter.
The configuration of 5.x version's is not compatible with previous versions, it is not easy to upgrade.
The good way to help old friends upgrade to new version quickly is using DistSQL.
We can provide the
config-DistSQL conversion tool
to generate DistSQL to configure the 5.x version. It is easy to save it asinit.sql
and execute before ShardingSphere startup.In future, it may possible to instead of Java Config and YAML with DistSQL, and simplify spring namespace and spring boot starter to care about data source only.
What do you think?
Link to #13287
Beta Was this translation helpful? Give feedback.
All reactions