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
hello,您用的dubbo是什么版本,3.0.5版本的需要获取scopeModel生成injvmProtocol,然而遇到了问题,在agent中执行ExtensionLoader.getExtensionLoader(Protocol.class)时,会抛出异常:
cause: No adaptive method exist on extension org.apache.dubbo.common.extension.ExtensionInjector,
目前DubboRepeater采用泛化调用发起回放,但是dubbo泛化调用会对返回值自定义序列化,其中会把返回类型中get方法当成属性写到最终返回的Map中,但是录制时候走普通dubbo调用序列化方式是不一致的,会导致录制和回放结果不一致
比如返回类型中如果包含某get方法
public List getDiscountCodeList() {
return StringUtils.isEmpty(discountCodes) ? null : Stream.of(discountCodes.split(",")).collect(Collectors.toList());
}
回放时走泛化调用最终会返回discountCodeList这个属性,但是该类本身是没有定义这个属性的,即录制结果也不会有该属性,所以会导致录制和回放结果不一致
The text was updated successfully, but these errors were encountered: