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

[Bug] About dubbo broadcast 2.6.X 2.7.X 3.X issue #14270

Closed
4 tasks done
nuoqin opened this issue Jun 3, 2024 · 1 comment
Closed
4 tasks done

[Bug] About dubbo broadcast 2.6.X 2.7.X 3.X issue #14270

nuoqin opened this issue Jun 3, 2024 · 1 comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage

Comments

@nuoqin
Copy link

nuoqin commented Jun 3, 2024

Pre-check

  • I am sure that all the content I provide is in English.

Search before asking

  • I had searched in the issues and found no similar issues.

Apache Dubbo Component

Java SDK (apache/dubbo)

Dubbo Version

2.7.X 3.X

Steps to reproduce this issue

When our system is upgraded from alibaba dubbo 2.6.X to 2.7.X/3.X, when we use ReferenceConfig and find registryConfig.setCluster(ClusterRules.BROADCAST), we find that broadcast is supported in version 2.6.X
to services on other servers. However, when upgrading to 2.7.X/3.X, the service cannot broadcast.

2.6.X code is as follows

ReferenceConfig<CacheService> reference = new ReferenceConfig<>();
RegistryConfig registryConfig = new RegistryConfig("zookeeper地址");
**registryConfig.setCluster(ClusterRules.BROADCAST);**
reference.setRegistry(registryConfig); 
//设置ApplicationConfig
reference.setApplication(application);
reference.setInterface(CacheSyncService.class);

CacheService service = reference.get();

service.update();

2.7.X/3.X code is as follows

ReferenceConfig<CacheService> reference = new ReferenceConfig<>();
RegistryConfig registryConfig = new RegistryConfig("zookeeper地址");
reference.setRegistry(registryConfig); 
//设置ApplicationConfig
reference.setApplication(application);
reference.setInterface(CacheSyncService.class);
**reference.setCluster(ClusterRules.BROADCAST);**

CacheService service = reference.get();

service.update();

But in the official documentation, there is no hint,I wonder if users should be informed of this change,Thanks

What you expected to happen

A version upgrade makes the service unavailable

Anything else

No response

Are you willing to submit a pull request to fix on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@nuoqin nuoqin added component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage labels Jun 3, 2024
@nuoqin
Copy link
Author

nuoqin commented Jun 4, 2024

Close the issue and resubmit it to the address below. I'm sorry
https://github.com/apache/dubbo/issues/14280

@nuoqin nuoqin closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/need-triage Need maintainers to triage type/need-triage Need maintainers to triage
Projects
Archived in project
Development

No branches or pull requests

1 participant