This commit is contained in:
Shikong 2024-11-09 02:38:21 +08:00
parent 4b4a9da556
commit fe7a348ecb
Signed by: Shikong
GPG Key ID: BD85FF18B373C341
3 changed files with 5 additions and 2 deletions

View File

@ -2,12 +2,13 @@ server:
port: 8763 port: 8763
spring: spring:
application: application:
name: project-01-consumer name: nacos-01-consumer
cloud: cloud:
nacos: nacos:
discovery: discovery:
server-addr: 10.10.10.200:8848 server-addr: 10.10.10.200:8848
group: nacos-01
seaweed-fs: seaweed-fs:
url: http://10.10.10.200:18333 url: http://10.10.10.200:18333

View File

@ -13,6 +13,7 @@ spring:
# 是否临时实例 # 是否临时实例
ephemeral: true ephemeral: true
# 分组 # 分组
group: DEFAULT_GROUP # group: DEFAULT_GROUP
group: nacos-01
# 权重 # 权重
weight: 1 weight: 1

View File

@ -8,3 +8,4 @@ spring:
nacos: nacos:
discovery: discovery:
server-addr: 10.10.10.200:8848 server-addr: 10.10.10.200:8848
group: nacos-01