You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
Pre-check
Search before asking
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
2.7.X/3.X code is as follows
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?
Code of Conduct
The text was updated successfully, but these errors were encountered: