|
@@ -144,6 +144,15 @@ spring:
|
|
|
standard:
|
|
|
sharding-column: center_wd_id
|
|
|
precise-algorithm-class-name: com.benyun.core.utils.sharding.ConsistenceHashAlgorithm
|
|
|
+ bl_topological_enterprise_wd_list:
|
|
|
+ actual-data-nodes: ds1.bl_topological_enterprise_wd_list_$->{1..5}
|
|
|
+ key-generator:
|
|
|
+ column: center_wd_id
|
|
|
+ type: SNOWFLAKE
|
|
|
+ table-strategy:
|
|
|
+ standard:
|
|
|
+ sharding-column: center_wd_id
|
|
|
+ precise-algorithm-class-name: com.benyun.core.utils.sharding.ConsistenceHashAlgorithm
|
|
|
redis: #redis配置
|
|
|
host: 192.168.2.64 #redis服务地址
|
|
|
database: 11
|