dachuan9e edited a comment on issue #11451:
URL:
https://github.com/apache/shardingsphere/issues/11451#issuecomment-888142178
Right now users can provide property named 'poolName' in configuration file.
It will set the data source pool name as the property value. The following is
the example:
# Example
dataSources:
ds_0:
url:
jdbc:mysql://127.0.0.1:3306/demo_ds_0?serverTimezone=UTC&useSSL=false
username: root
password: 123456
connectionTimeoutMilliseconds: 30000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
minPoolSize: 1
poolName: sharding.ds_0
# Attention & Suggestion
- If the poolName is the same shared by different data source it will cause
the metrics data errors.
- We recommended that it should keep the name provided by 'poolName' unique
all the proxy.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]