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/14 09:44:50 UTC
[GitHub] [dubbo] kevinw66 commented on issue #8290: dubbo3.0.1服务设置了分组为dev。但是注册到nacos上的分组还是显示dubbo
kevinw66 commented on issue #8290:
URL: https://github.com/apache/dubbo/issues/8290#issuecomment-879752095
使用RegistryConfig.setGroup()设置分组
```
@Bean
public RegistryConfig registryConfig() {
RegistryConfig registryConfig = new RegistryConfig();
registryConfig.setAddress("nacos://127.0.0.1:8848");
registryConfig.setGroup("dev");
return registryConfig;
}
```
或者
`<dubbo:registry group="dev" address="nacos://127.0.0.1:8848"/>`
--
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