Replies: 5 comments
-
@wzkris Hi, if cluster mode is configured, will use the configuration of the governance center |
Beta Was this translation helpful? Give feedback.
-
@jiangML Yes, I configured the cluster mode with zookeeper, does this mean that the yml config file only needs to configure the cluster, and the rest of the configuration is configured in zookeeper |
Beta Was this translation helpful? Give feedback.
-
Yes, you are right. |
Beta Was this translation helpful? Give feedback.
-
@zhaojinchao95 I use druid pool , but why HikariPool still running. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Which version of ShardingSphere did you use?
5.3.2
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
i configure it exactly according to the official configuration like this.
Actual behavior
Reason analyze (If you can)
I debug the source code found that may occured in
MetaDataContextFactory
class.In the code line 45, you can see my readwrite-splitting config is totally correct, but in line 46, the variable
effectiveDatabaseConfigs
changed.The method
createEffectiveDatabaseConfigurations
should read my config, Why it didn't read into the parameter configuration?Beta Was this translation helpful? Give feedback.
All reactions