You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/12/12 02:48:34 UTC

[GitHub] [shardingsphere] Zhai6319 commented on issue #22790: 5.3.0 How to import config file by Nacos(config) in SpringCloud

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

   > @sandynz
   > 
   > I don't think it conflicts
   > 
   > The 5.3.0 configuration mode of the separate SpringBoot has great advantages
   > 
   > But once `Spring Cloud (config)` is used, when the DataSource attribute is dynamically configured
   > 
   > The current way is too difficult
   > 
   > If we can provide `CreateDataSource(bean)`, we can manually create it after loading yaml ourselves
   > 
   > Or use the yaml format that can be parsed by Spring
   
   
   
   Does this mean that in addition to the data source configured in yaml,
   
   At the same time, can I add new data sources in the running process?
   
   For example, for multi tenant, can the program create a new database instance for the tenant when creating the tenant, and dynamically add the data source of the new instance in the program?
   
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org