WANMAX commented on issue #23875:
URL: 
https://github.com/apache/shardingsphere/issues/23875#issuecomment-1410131990

   props:
     sql-show: true
   dataSources:
     master:
       dataSourceClassName: com.zaxxer.hikari.HikariDataSource
       driverClassName: com.mysql.cj.jdbc.Driver
       jdbcUrl: 
       username: 
       password: 
     slave1:
       dataSourceClassName: com.zaxxer.hikari.HikariDataSource
       driverClassName: com.mysql.cj.jdbc.Driver
       jdbcUrl: 
       username: 
       password: 
   rules:
     - !READWRITE_SPLITTING
       dataSources:
         ms:
           staticStrategy:
             writeDataSourceName: master
             readDataSourceNames:
               - slave1
           loadBalancerName: roundRobin
       loadBalancers:
         roundRobin:
           type: ROUND_ROBIN


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