You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/01/18 07:23:15 UTC

[GitHub] joooohnli opened a new issue #1779: support multiple logic databases

joooohnli opened a new issue #1779: support multiple logic databases
URL: https://github.com/apache/incubator-shardingsphere/issues/1779
 
 
   ## Feature Request
   
   **For English only**, other languages will not accept.
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response **more than 7 days** and we cannot make decision by current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Is your feature request related to a problem?
   No
   ### Describe the feature you would like.
   Since I've been using the Orchestration to manage sharding-jdbc configurations, the project depending on datasource connection only need to refer the logic db by this way:
   ```
   sharding.jdbc.config.orchestration.name=db1
   sharding.jdbc.config.orchestration.overwrite=false
   sharding.jdbc.config.orchestration.registry.namespace=sharding-jdbc-business
   sharding.jdbc.config.orchestration.registry.server-lists=10.x.x.x:2181
   ```
   The Question is that some projects need to connect to multiple logic databases( for example the backend management system), and I what I want is to refer multiple logic databases like this way:
   ```
   sharding.jdbc.config.orchestration.name=db1,db2,db3
   ```
   So I can then change these logic databases in my projects dynamically.
   
   By the way, after reading source code, I find there is only one logic db named ```logic_db``` existing in context by hard coding. I wonder If it can be renamed to the orchestration name which could make it more convenient to manage these logic databases.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services