You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "zhong2312 (via GitHub)" <gi...@apache.org> on 2023/06/13 14:33:32 UTC

[GitHub] [shardingsphere] zhong2312 opened a new issue, #26328: How to achieve the sharing of sharding configuration among multiple service instances and ShardingSphereProxy?

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

   Since I am using Nacos as the configuration center and service registry and discovery center for my services, I want to directly store the sharding configuration in Nacos without the need for additional deployment of ZooKeeper. Although the documentation mentions using Nacos as a persistent repository, I am not quite sure how to do it. I have looked at many examples and blog posts, but whether it is in cluster mode or standalone mode, they all seem to store the configuration in the YAML files within the project. If the configuration is stored in YAML files, doesn't that mean each service instance has to modify the configuration individually? Therefore, the configuration should be stored in Nacos, and then the ShardingJDBC should be configured with the Nacos dataId. However, I couldn't find the relevant documentation. Could you provide me with some resources to help me achieve my requirements? Thank you.
   ![image](https://github.com/apache/shardingsphere/assets/4153607/e58bda5f-7fda-41c4-bb7a-7e73a77afe77)
   


-- 
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] jiangML commented on issue #26328: How to achieve the sharing of sharding configuration among multiple service instances and ShardingSphereProxy?

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

   @zhong2312 You can use `Proxy` & `Nacos` to maintain a set of configurations, and then add `JDBC` to the cluster.


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