onevroad commented on issue #15689:
URL: 
https://github.com/apache/shardingsphere/issues/15689#issuecomment-1062608102


   ```properties
   spring.shardingsphere.datasource.names=ds0,ds1
   
   spring.shardingsphere.datasource.ds0.type=com.zaxxer.hikari.HikariDataSource
   
spring.shardingsphere.datasource.ds0.driver-class-name=oracle.jdbc.OracleDriver
   
spring.shardingsphere.datasource.ds0.jdbc-url=jdbc:oracle:thin:@127.0.0.1:1521:orcl
   spring.shardingsphere.datasource.ds0.username=demo
   spring.shardingsphere.datasource.ds0.password=123456
   
   spring.shardingsphere.datasource.ds1.type=com.zaxxer.hikari.HikariDataSource
   
spring.shardingsphere.datasource.ds1.driver-class-name=oracle.jdbc.OracleDriver
   
spring.shardingsphere.datasource.ds1.jdbc-url=jdbc:oracle:thin:@127.0.0.1:1522:orcl
   spring.shardingsphere.datasource.ds1.username=demo
   spring.shardingsphere.datasource.ds1.password=123456
   
   spring.shardingsphere.rules.readwrite-splitting.data-sources.ds.type=Static
   
spring.shardingsphere.rules.readwrite-splitting.data-sources.ds.props.write-data-source-name=ds0
   
spring.shardingsphere.rules.readwrite-splitting.data-sources.ds.props.read-data-source-names=ds1
   
spring.shardingsphere.rules.readwrite-splitting.data-sources.ds.load-balancer-name=round-robin
   
spring.shardingsphere.rules.readwrite-splitting.load-balancers.round-robin.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: notifications-unsubscr...@shardingsphere.apache.org

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


Reply via email to