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
3.2.12
Steps to reproduce this issue
delete local registry cache files.
build a springboot app that has @DubboReference(check = false) to provider A.
create dynamic reference to provider B when the state of DubboApplicationStateEvent is started.
ReferenceConfig<ProviderB> referenceConfig = new ReferenceConfig<>();
referenceConfig.setInterface(ProviderB.class);
referenceConfig.setVersion("...");
referenceConfig.setGroup("...");
referenceConfig.setCheck(false);
referenceConfig.setAsync(true);
// using DubboBootstrap.getInstance() as the single instance is already created.
ProviderB providerB = DubboBootstrap.getInstance().getCache().get(referenceConfig);
call any method of providerB immediatly.
What you expected to happen
ReferenceCache shoud provide a get method with timeout paramter to pull the provider instance info from the registry center at the reference creation.
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!
because you have set this 'referenceConfig.setAsync(true);' which is similar to send oneway, do not care response, and if you wan't to use 'async and return value', you can define your interface's resonse to Future
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
3.2.12
Steps to reproduce this issue
@DubboReference(check = false)
to provider A.What you expected to happen
ReferenceCache shoud provide a get method with timeout paramter to pull the provider instance info from the registry center at the reference creation.
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: