|
@@ -22,19 +22,19 @@ app.zk.connect.timeout=15000 |
|
@@ -22,19 +22,19 @@ app.zk.connect.timeout=15000 |
|
22
|
app.zk.root=/route
|
22
|
app.zk.root=/route
|
|
23
|
|
23
|
|
|
24
|
#路由策略,轮询
|
24
|
#路由策略,轮询
|
|
25
|
-app.route.way=com.crossoverjie.cim.common.route.algorithm.loop.LoopHandle
|
25
|
+#app.route.way=com.crossoverjie.cim.common.route.algorithm.loop.LoopHandle
|
|
26
|
|
26
|
|
|
27
|
#路由策略,随机
|
27
|
#路由策略,随机
|
|
28
|
#app.route.way=com.crossoverjie.cim.common.route.algorithm.random.RandomHandle
|
28
|
#app.route.way=com.crossoverjie.cim.common.route.algorithm.random.RandomHandle
|
|
29
|
|
29
|
|
|
30
|
#路由策略,一致性 hash
|
30
|
#路由策略,一致性 hash
|
|
31
|
-#app.route.way=com.crossoverjie.cim.common.route.algorithm.consistenthash.ConsistentHashHandle
|
31
|
+app.route.way=com.crossoverjie.cim.common.route.algorithm.consistenthash.ConsistentHashHandle
|
|
32
|
|
32
|
|
|
33
|
#一致性 hash 算法具体实现--自定义有序 map
|
33
|
#一致性 hash 算法具体实现--自定义有序 map
|
|
34
|
#app.route.way.consitenthash=com.crossoverjie.cim.common.route.algorithm.consistenthash.SortArrayMapConsistentHash
|
34
|
#app.route.way.consitenthash=com.crossoverjie.cim.common.route.algorithm.consistenthash.SortArrayMapConsistentHash
|
|
35
|
|
35
|
|
|
36
|
#一致性 hash 算法具体实现--TreeMap
|
36
|
#一致性 hash 算法具体实现--TreeMap
|
|
37
|
-#app.route.way.consitenthash=com.crossoverjie.cim.common.route.algorithm.consistenthash.TreeMapConsistentHash
|
37
|
+app.route.way.consitenthash=com.crossoverjie.cim.common.route.algorithm.consistenthash.TreeMapConsistentHash
|
|
38
|
|
38
|
|
|
39
|
# Redis 配置
|
39
|
# Redis 配置
|
|
40
|
spring.redis.host=xx
|
40
|
spring.redis.host=xx
|