Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dubbo group not set for reference #5

Closed
qixiaobo opened this issue Jul 24, 2019 · 1 comment
Closed

dubbo group not set for reference #5

qixiaobo opened this issue Jul 24, 2019 · 1 comment

Comments

@qixiaobo
Copy link
Contributor

qixiaobo commented Jul 24, 2019

From your code ,we can see even if this registry has group but not set for registeryConfig

public static void init() {
        RegistryConfig registryConfig = new RegistryConfig();
        registryConfig.setAddress(registry.getUrl().getProtocol() + "://" + registry.getUrl().getAddress());
     
        applicationConfig = new ApplicationConfig();
        applicationConfig.setName("dubbo-proxy");
        applicationConfig.setRegistry(registryConfig);
    }

As we know , dubbo registry stands for path in zookeeper. The default path is dubbo.
At this point , we should set the group to avoid "not provider " message

qixiaobo added a commit to qixiaobo/dubbo-proxy that referenced this issue Jul 24, 2019
qixiaobo added a commit to qixiaobo/dubbo-proxy that referenced this issue Jul 25, 2019
merge master into current  branch
@qixiaobo
Copy link
Contributor Author

qixiaobo commented Aug 2, 2019

Merged

@qixiaobo qixiaobo closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant