Does sharding-jdbc support dynamically adding data sources? My question is: a tenant corresponds to a DB, and how to dynamically update the sharding data source when adding a tenant during project operation? #32014
craftsman4j
started this conversation in
General
Replies: 2 comments 16 replies
-
by updating ContextManager.metaDataContexts can dynamically change the data sources.
and then, update metaDataContexts :
|
Beta Was this translation helpful? Give feedback.
16 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions