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

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

Reply via email to