mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
修复zookeeper连接报错问题
This commit is contained in:
@@ -13,7 +13,7 @@ spring:
|
|||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
connect-string: 10.1.31.126:2181
|
connect-string: localhost:2181
|
||||||
baseSleepTimeMs: 3000
|
baseSleepTimeMs: 3000
|
||||||
maxRetries: 3
|
maxRetries: 3
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
# zookeeper配置
|
# zookeeper配置
|
||||||
connect-string: 10.1.31.126:2181
|
connect-string: localhost:2181
|
||||||
|
|
||||||
eureka:
|
eureka:
|
||||||
port: 1111
|
port: 1111
|
||||||
|
@@ -16,7 +16,7 @@ spring:
|
|||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
connect-string: 10.1.31.126:2181
|
connect-string: localhost:2181
|
||||||
|
|
||||||
# 指定接口路径
|
# 指定接口路径
|
||||||
easyopen:
|
easyopen:
|
||||||
|
@@ -8,7 +8,7 @@ spring:
|
|||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
connect-string: 10.1.31.126:2181
|
connect-string: localhost:2181
|
||||||
|
|
||||||
# 注册中心
|
# 注册中心
|
||||||
eureka:
|
eureka:
|
||||||
|
@@ -18,7 +18,7 @@ spring:
|
|||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
connect-string: 10.1.31.126:2181
|
connect-string: localhost:2181
|
||||||
|
|
||||||
gateway: # Spring Cloud Gateway配置,如果用了zuul,这段配置没有效果
|
gateway: # Spring Cloud Gateway配置,如果用了zuul,这段配置没有效果
|
||||||
discovery:
|
discovery:
|
||||||
|
@@ -14,7 +14,7 @@ spring:
|
|||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
connect-string: 10.1.31.126:2181
|
connect-string: localhost:2181
|
||||||
|
|
||||||
api:
|
api:
|
||||||
# 测试地址
|
# 测试地址
|
||||||
|
Reference in New Issue
Block a user