Skip to content
Permalink
Browse files
dubbo group not set for reference #5
  • Loading branch information
qixiaobo committed Jul 24, 2019
1 parent 13478a8 commit ba917215220a5c53cc2931d062afbc4d0bb08697
Showing 1 changed file with 1 addition and 0 deletions.
@@ -27,6 +27,7 @@ public static void setRegistry(Registry registry) {
public static void init() {
RegistryConfig registryConfig = new RegistryConfig();
registryConfig.setAddress(registry.getUrl().getProtocol() + "://" + registry.getUrl().getAddress());
registryConfig.setGroup(registry.getUrl().getRawParameter(org.apache.dubbo.common.Constants.GROUP_KEY));
applicationConfig = new ApplicationConfig();
applicationConfig.setName("dubbo-proxy");
applicationConfig.setRegistry(registryConfig);

0 comments on commit ba91721

Please sign in to comment.