huang-zs opened a new issue, #35056:
URL: https://github.com/apache/shardingsphere/issues/35056

   ## Question
   sharding-jdbc5.5.2
   I want to update both the datasource and the sharding rule after the 
ShardingSphereDataSource has been created. I found that I can update the rule 
using:
   
`contextManager.getMetaDataContextManager().getDatabaseRuleConfigurationManager().alterRuleConfiguration(dbName,
 shardingRuleConfiguration);`
   However, I haven't found a way to update the datasource. 
   My requirement is to have one database per tenant. When I add a new tenant, 
I need to add a new datasource and update the rule accordingly.


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