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

   project start error log 
   Caused by: java.lang.IllegalStateException: Readwrite-splitting data source 
weight config are required in database `logic_db`.
   
   yaml:
   `    rules:
         readwrite-splitting:
           data-sources:
             test:
               static-strategy:
                 write-data-source-name: master
                 read-data-source-names: slave1,slave2
               load-balancer-name: customWeight
           load-balancers:
             customWeight:
               type: WEIGHT
               props:
                 slave1: 7
                 slave2: 3`
   same yaml my test demo can start success


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