starcwang opened a new issue #1790: How to add sharding tables dynamically 
without config center?
URL: https://github.com/apache/incubator-shardingsphere/issues/1790
 
 
   **version**:3.0.0.M2
   **project**: Sharding-JDBC
   **question**:     
   My config like this:
   ```properties
   
sharding.jdbc.config.sharding.default-database-strategy.inline.sharding-column=post_id
   
sharding.jdbc.config.sharding.default-database-strategy.inline.algorithm-expression=ds_$->{post_id
 % 2}
   sharding.jdbc.config.sharding.default-data-source-name=ds_0
   sharding.jdbc.config.sharding.props.sql.show=true
   
   # audit_post
   
sharding.jdbc.config.sharding.tables.audit_post.actual-data-nodes=ds_0.audit_post_201901,ds_0.audit_post_201902,ds_1.audit_post_201901,ds_1.audit_post_201902
   
sharding.jdbc.config.sharding.tables.audit_post.table-strategy.inline.sharding-column=post_id
   
sharding.jdbc.config.sharding.tables.audit_post.table-strategy.inline.algorithm-expression=$->{com.util.ShardingUtil.getTable("audit_post",
 post_id)}
   
sharding.jdbc.config.sharding.tables.audit_post.key-generator-column-name=post_id
   ```
   how can I add a sharding table every month  into the actual-data-nodes 
without reg center? like scheduling?
   Is there an api or interface to update `ShardingRule` when the service is 
running?  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to