RaigorJiang opened a new pull request, #29461:
URL: https://github.com/apache/shardingsphere/pull/29461

   Fixes #29459.
   
   Support logic data source when `checkReadeDataSourceNames` for 
readwrite-splitting.
   
   ### Example configuration
   ```yaml
   - !READWRITE_SPLITTING
     dataSources:
       readwrite_prod_ds:
         writeDataSourceName: writeShadowDataSource
         readDataSourceNames:
           - readShadowDataSource
         loadBalancerName: random
     loadBalancers:
       random:
         type: RANDOM
   - !SHADOW
     dataSources:
       writeShadowDataSource:
         productionDataSourceName: write_prod_ds
         shadowDataSourceName: write_shadow_ds
       readShadowDataSource:
         productionDataSourceName: read_prod_ds
         shadowDataSourceName: read_shadow_ds
     tables:
        ...
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to