shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource
Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:
- Searched open and closed GitHub issues.
- Read documentation: ShardingSphere Doc.
Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
5.4.1
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
shardignJdbc 5.4.1 use HikariDataSource or DruidDataSource?
Actual behavior
this why?
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).
I'm having the same issue, here's my configuration
sharding-jdbc.yaml:
application.properties:
# 配置 DataSource Driver
spring.datasource.driver-class-name=org.apache.shardingsphere.driver.ShardingSphereDriver
# 指定 YAML 配置文件
spring.datasource.url=jdbc:shardingsphere:classpath:sharding-jdbc.yaml
When querying, I found that I did not use the data source I configured to query, but instead used HikariPool to query
Ref #24348
I've noticed this issue hasn't been solved; are there any other solutions to this now?
Does it have to be cluster mode?
I've noticed this issue hasn't been solved; are there any other solutions to this now?
Sorry, not yet
I've noticed this issue hasn't been solved; are there any other solutions to this now?
Sorry, not yet
Are there other versions that can avoid this problem?
I've noticed this issue hasn't been solved; are there any other solutions to this now?
Sorry, not yet
Does the druid connection count configuration still work if Hikari is actually used
I've noticed this issue hasn't been solved; are there any other solutions to this now?
Sorry, not yet
Are there other versions that can avoid this problem?
I think not, Maybe you can consider submit a pull request to optimization it
I've noticed this issue hasn't been solved; are there any other solutions to this now?
Sorry, not yet
Does the druid connection count configuration still work if Hikari is actually used
I don't know, you can try it
OK, I'll consider submitting my own PR later, but I need to run the project properly for now
OK, I'll consider submitting my own PR later, but I need to run the project properly for now . Sorry, your PR can only be used in the next release.
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
@zhaojinchao95 @ReyYang Will this problem still be solved?
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.