You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "benko233 (via GitHub)" <gi...@apache.org> on 2023/07/17 02:29:30 UTC
[GitHub] [dubbo] benko233 commented on issue #12701: metadataservice调用链路无法传递隐式参数
benko233 commented on issue #12701:
URL: https://github.com/apache/dubbo/issues/12701#issuecomment-1637295845
> 可以看一下改造 MetadataServiceURLBuilder 来支持
目前我们的解决方案是扩展DubboProtocol,重写refer方法,构造完整的调用链路。想问一下MetadataService走所有框架默认filter是否会存在问题?
` @Override
public <T> Invoker<T> refer(Class<T> serviceType, URL url) throws RpcException {
FilterChainBuilder builder = ScopeModelUtil.getExtensionLoader(FilterChainBuilder.class, url.getScopeModel()).getDefaultExtension();
return builder.buildInvokerChain(super.refer(serviceType, url), REFERENCE_FILTER_KEY, CommonConstants.CONSUMER);
}`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org