-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whether SPI can be added for shardingjdbc driver to enable the community to expand more url support #22834
Comments
Sounds good, need more feedback and discuss. |
Is the effect similar to configuring these information in cluster mode of YAML ? |
@zhaojinchao95 @RaigorJiang relevance issue #22790 |
What information does metadata store? I always find cluster mode awkward to use |
Regression The client sdk provided by nacos provides relevant interfaces The url format can be consistent with other data source formats |
If the service is deployed in containers, it is more difficult to configure |
This comment was marked as duplicate.
This comment was marked as duplicate.
Hi @wanghongbin73 |
The configuration method after ShardingSphere-jdbc 5.3 is too unfriendly for the current spring cloud method. |
@wanghongbin73 |
@RaigorJiang |
Feature Request
Whether SPI can be added for shardingjdbc driver to enable the community to expand more url support
Hopes to provide SPI for org.apache.shardingsphere.driver
The community can expand relevant plug-ins
For example:
spring.datasource.url=jdbc:shardingsphere:classpath:xxx.yaml The classpath in this configuration can be configured as nacos, spring cloud config or other configuration centers
jdbc:shardingsphere:{nacos/spring-cloud-config/classpath}:{ip}:{port}:{username}:{password}:{namespace}:xxx.yaml
Then drive plug-ins to obtain different configurations
The text was updated successfully, but these errors were encountered: