You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/22 12:32:27 UTC
[GitHub] [dubbo] xiaoheng1 edited a comment on issue #8317: dubbo3.0启动服务会自动注册一个DEFAULT_GROUP的服务,如何调整这个默认分组
xiaoheng1 edited a comment on issue #8317:
URL: https://github.com/apache/dubbo/issues/8317#issuecomment-884875332
The problem you mentioned still doesn't appear when i use the demo you provider.
config:
```
server:
port: 8086
address: 127.0.0.1
spring:
application:
name: dubbo-service
cloud:
# nacos:
# discovery:
# server-addr: 192.168.88.250:8848
# auto-register: true
# group: TEST_GROUP
# namespace: dubbo-test
# ip: 10.8.0.10
compatibility-verifier:
enabled: false
############################# dubbo 配置 start #############################
dubbo:
# application:
# name: dubbo-service
scan:
base-packages: com.jeepf.service
protocol:
name: dubbo
port: 20880
registry:
address: nacos://127.0.0.1:8848?namespace=dubbo-test & nacos.group=TEST_GROUP # 这样是可以的
parameters:
namespace: dubbo-test #这种不行
group: TEST_GROUP
provider:
group: DEV # 服务名group后缀
consumer:
group: DEV # 消费者group后缀
check: false
#dubbo:
# registry:
# address: nacos://192.168.88.250:8848?namespace=dubbo-test
# group: TEST_GROUP
# consumer:
# check: false
# group: DEV
############################# dubbo 配置 end #############################
```
![image](https://user-images.githubusercontent.com/12539730/126639292-0d98fd7f-286d-4caa-8a73-6b668aa56b59.png)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org