zt9788 commented on issue #22790:
URL: 
https://github.com/apache/shardingsphere/issues/22790#issuecomment-1345844987

   @sandynz 
   
   Well, maybe I'm not say it very clear
   I want to express that it will be more troublesome to use this way
   
   Because the yaml of ShardingSpere cannot be recognized by Spring now, the 
bean cannot be directly imported, and the classpath method must be used
   
   If the configuration center is used, Spring Cloud usually imports the config 
bean in the configuration center directly
   
   In this case,I can only re create a yaml file that can read by spring, and 
then import them into the bean(this bean to split databaseName, modeConfig, 
dataSourceMap, ruleConfigs, props) , submit them to Sharding's 
[create](https://shardingsphere.apache.org/document/5.3.0/cn/user-manual/shardingsphere-jdbc/java-api/)
 method(**like i create a spring-boot-starter by myself**)


-- 
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]

Reply via email to