apache / shardingsphere

Distributed SQL transaction & query engine for data sharding, scaling, encryption, and more - on any database.
Apache License 2.0
19.61k stars 6.66k forks source link

YamlReadwriteSplittingRuleConfiguration jar and soruce is diff #31387

Open 402363967 opened 1 month ago

402363967 commented 1 month ago

YamlReadwriteSplittingRuleConfiguration类 在shardingsphere-readwrite-splitting-core-5.5.0.jar 变量叫:dataSources 在github的源码中叫dataSourceGroups;按照官方的文档无法使用

Caused by: org.yaml.snakeyaml.constructor.ConstructorException: Cannot create property=dataSourceGroups for JavaBean=org.apache.shardingsphere.readwritesplitting.yaml.config.YamlReadwriteSplittingRuleConfiguration@5b1420f9 in 'reader', line 34, column 5:

zhaojinchao95 commented 1 month ago

You should refer to 5.5.0 when you use5.5.0 version.

github-actions[bot] commented 1 week ago

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.