You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "FlyingZC (via GitHub)" <gi...@apache.org> on 2023/04/27 07:59:42 UTC

[GitHub] [shardingsphere] FlyingZC opened a new issue, #25359: Refactor `DataSourceContainedRule` and add new rules to query role

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

   ## Feature Request
   The roles in `DataSourceRole` violates the pluggable architecture, so it needs to be removed. 
   We prepare to add `ExportableWriteDataSourceRule` and `ExportableReadDataSourceRule` to obtain the write data source and read data sources in the readwrite-splitting rule.
   
   ```java
   public interface ExportableWriteDataSourceRule {
       
       Map<String, String> getWriteDataSourceMapper();
   }
   
   public interface ExportableReadDataSourceRule {
       
       Map<String, Collection<String>> getReadDataSourceMapper();
   }
   ```
             
   


-- 
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] strongduanmu closed issue #25359: Revert DataSourceContainedRule

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu closed issue #25359: Revert DataSourceContainedRule
URL: https://github.com/apache/shardingsphere/issues/25359


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