TeslaCN commented on issue #17482:
URL: 
https://github.com/apache/shardingsphere/issues/17482#issuecomment-1123250512

   You may configure data sources and `actualDataNodes` in sharding rule. Such 
as:
   
   ```yaml
   dataSources:
     ds_0:
       url: xxx
     ds_1:
       url: xxx
   rules:
     - !SHARDING
       bindingTables: []
       defaultDatabaseStrategy:
         none:
       defaultTableStrategy:
         none:
       keyGenerators:
         snowflake:
           props:
             worker-id: 123
           type: SNOWFLAKE
       tables:
         bmsql_config:
           actualDataNodes: ds_0.bmsql_config
   ```


-- 
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-unsubscr...@shardingsphere.apache.org

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

Reply via email to