zhaojinchao95 opened a new issue, #25002:
URL: https://github.com/apache/shardingsphere/issues/25002
Hi community,
Now, we are consider simplify readwrite-splitting api, because because we
removed db-discovery feature not long ago. We don't need to divide
staticStrategy anymore.
Before adjustment :
```
rules:
- !READWRITE_SPLITTING
dataSources:
readwrite_ds:
staticStrategy:
writeDataSourceName: primary_ds
readDataSourceNames:
- replica_ds_0
- replica_ds_1
loadBalancerName: random
loadBalancers:
random:
type: RANDOM
```
After adjustment:
```
rules:
- !READWRITE_SPLITTING
dataSources:
readwrite_ds:
writeDataSourceName: primary_ds
readDataSourceNames:
- replica_ds_0
- replica_ds_1
loadBalancerName: random
loadBalancers:
random:
type: RANDOM
```
.
--
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]