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

   ## shardingsphere  version:5.2.1 and spring-boot version:2.7.3
   
       <dependency>
         <groupId>org.apache.shardingsphere</groupId>
         <artifactId>shardingsphere-cluster-mode-repository-nacos</artifactId>
         <version>5.2.1</version>
       </dependency>
   
       <dependency>
         <groupId>org.apache.shardingsphere</groupId>
         <artifactId>shardingsphere-cluster-mode-repository-nacos</artifactId>
         <version>5.2.1</version>
       </dependency>
   
       <parent>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-starter-parent</artifactId>
           <version>2.7.3</version>
           <relativePath/>
         </parent>
   
   ## nacos server version:1.4.2
   
   ## application.properties
   `
   logging.level.org.apache.shardingsphere=DEBUG
   spring.shardingsphere.props.sql-show=true
   spring.shardingsphere.mode.type=Cluster
   spring.shardingsphere.mode.repository.type=Nacos
   spring.shardingsphere.mode.repository.props.server-lists=localhost:8848
   
spring.shardingsphere.mode.repository.props.namespace=01413141-9cfb-477a-9dc3-da0cd2e522ed
   spring.shardingsphere.datasource.names=ds1
   spring.shardingsphere.datasource.ds1.type=com.zaxxer.hikari.HikariDataSource
   spring.shardingsphere.datasource.ds1.driver-class-name=com.mysql.jdbc.Driver
   
spring.shardingsphere.datasource.ds1.jdbc-url=jdbc:mysql://localhost:55000/sharding
   spring.shardingsphere.datasource.ds1.username=xxxx
   spring.shardingsphere.datasource.ds1.password=xxxx
   
spring.shardingsphere.rules.sharding.tables.t_order.actual-data-nodes=ds1.t_order_$->{0..1}
   
spring.shardingsphere.rules.sharding.tables.t_order.table-strategy.standard.sharding-column=type
   
spring.shardingsphere.rules.sharding.tables.t_order.table-strategy.standard.sharding-algorithm-name=t-order-inline
   
spring.shardingsphere.rules.sharding.sharding-algorithms.t-order-inline.type=INLINE
   
spring.shardingsphere.rules.sharding.sharding-algorithms.t-order-inline.props.algorithm-expression=t_order_$->{type
 % 2}
   
   `
   
   ## Exception
   <img width="1229" height="300" alt="Snipaste_2022-11-16_20-40-00" 
src="https://user-images.githubusercontent.com/26370775/202187230-a2fbf21d-5ac4-468c-a13d-79edae7a626a.png";>
   
   ## Question
   1、Is this a bug ,how to fix?
   2、Whether there is an Example of repository-nacos?
   
   Thank You!!!!!!!!!
   


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