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/10/10 06:41:23 UTC

[GitHub] [shardingsphere] wqzcoder opened a new issue, #16739: How to dynamically add data sources and specify cuts

wqzcoder opened a new issue, #16739:
URL: https://github.com/apache/shardingsphere/issues/16739

   I would like to ask, I control the data source myself, and then what annotations are dynamically cut to the data source I dynamically add  


-- 
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.apache.org

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


[GitHub] [shardingsphere] wqzcoder commented on issue #16739: How to dynamically add data sources and specify cuts

Posted by GitBox <gi...@apache.org>.
wqzcoder commented on issue #16739:
URL: https://github.com/apache/shardingsphere/issues/16739#issuecomment-1097490900

   > You can try distsql, it allows users to add resources(datasources) dynamically. For more information, you can refer this doc——https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/.
   
   I use shardingJdbc.For example, now I configured 2 data sources, and at runtime, I added 3 more data sources, so now there are 5 data sources, so how do I specify one of the libraries  
   ![image](https://user-images.githubusercontent.com/67619412/163088520-ffd8e75f-73aa-4ae3-ba39-7236a043c109.png)
   


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


[GitHub] [shardingsphere] github-actions[bot] commented on issue #16739: How to dynamically add data sources and specify cuts

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16739:
URL: https://github.com/apache/shardingsphere/issues/16739#issuecomment-1272350051

   Hello , this issue has not received a reply for several days.
   This issue is supposed to be closed.


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


[GitHub] [shardingsphere] strongduanmu commented on issue #16739: How to dynamically add data sources and specify cuts

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #16739:
URL: https://github.com/apache/shardingsphere/issues/16739#issuecomment-1097496307

   @wqzcoder It is not possible to dynamically add data sources using ShardingSphere-JDBC alone. You can mix and deploy ShardingSphere-JDBC and ShardingSphere-Proxy in Cluster mode, allowing you to dynamically add data sources through DistSQL.


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


[GitHub] [shardingsphere] RaigorJiang closed issue #16739: How to dynamically add data sources and specify cuts

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang closed issue #16739: How to dynamically add data sources and specify cuts
URL: https://github.com/apache/shardingsphere/issues/16739


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


[GitHub] [shardingsphere] wqzcoder commented on issue #16739: How to dynamically add data sources and specify cuts

Posted by GitBox <gi...@apache.org>.
wqzcoder commented on issue #16739:
URL: https://github.com/apache/shardingsphere/issues/16739#issuecomment-1094949629

   ![image](https://user-images.githubusercontent.com/67619412/162732478-787ac14c-ca4c-4bf9-99e7-2233b50b0ec2.png)
   I can add data sources manually later, but how do I specify the cut library, you should have annotations based on ThreadLocal  


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


[GitHub] [shardingsphere] github-actions[bot] closed issue #16739: How to dynamically add data sources and specify cuts

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #16739: How to dynamically add data sources and specify cuts
URL: https://github.com/apache/shardingsphere/issues/16739


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


[GitHub] [shardingsphere] RaigorJiang commented on issue #16739: How to dynamically add data sources and specify cuts

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #16739:
URL: https://github.com/apache/shardingsphere/issues/16739#issuecomment-1410757808

   This issue has been inactive for a long time, so I will close it.
   If this problem persists, please reopen it or submit a new one.


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


[GitHub] [shardingsphere] strongduanmu commented on issue #16739: How to dynamically add data sources and specify cuts

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #16739:
URL: https://github.com/apache/shardingsphere/issues/16739#issuecomment-1096602418

   You can try distsql, it allows users to add resources(datasources) dynamically. For more information, you can refer this doc——https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/.


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


[GitHub] [shardingsphere] wqzcoder commented on issue #16739: How to dynamically add data sources and specify cuts

Posted by GitBox <gi...@apache.org>.
wqzcoder commented on issue #16739:
URL: https://github.com/apache/shardingsphere/issues/16739#issuecomment-1096597627

   Help me


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