15898317421 opened a new issue #9741:
URL: https://github.com/apache/shardingsphere/issues/9741


   **properties**
   server.port=8080
   spring.application.name=dynamic-datasource-sharding-spring
   
   spring.shardingsphere.props.show-sql=true
   
   spring.shardingsphere.datasource.names=ds0
   
   spring.shardingsphere.datasource.ds0.type=com.zaxxer.hikari.HikariDataSource
   spring.shardingsphere.datasource.ds0.driver-class-name=com.mysql.jdbc.Driver
   
spring.shardingsphere.datasource.ds0.jdbc-url=jdbc:mysql://localhost:3316/demo1
   spring.shardingsphere.datasource.ds0.username=root
   spring.shardingsphere.datasource.ds0.password=123456
   
   spring.shardingsphere.sharding.tables.demo_one.actual-data-nodes = 
ds${0}.demo_one_${0..1}
   
spring.shardingsphere.sharding.tables.demo_one.table-strategy.inline.sharding-column
 = sharding_id
   
spring.shardingsphere.sharding.tables.demo_one.table-strategy.inline.algorithm-expression
 = demo_one_${sharding_id % 2}
   spring.shardingsphere.sharding.tables.demo_one.key-generator.column = 
sharding_id
   spring.shardingsphere.sharding.tables.demo_one.key-generator.type = SNOWFLAKE
   
   I want to use sharding-jdbc-core-spring-boot-starter for table sharding, 
because some application already use in pro env with 4.0.0 version.
   And now, I want to implement some compopents for business users with 
5.0.0-alpha version, because I want to use the feature of shadow pressure. But 
it has throw exception. I need help.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to