Joe

Results 12 comments of Joe

@jiang2015 @QilongZhang 看了下源码,这个问题只有在使用非jvm的binding是才会有,因为在同一个JVM中使用非jvm的binding,导致BindingConverterContext类出现问题(jvm binding不使用这个),大概逻辑是: - 启动app-one,app-one启动时需要用到BindingConverterContext类,该类是sofa-rpc插件导出的类,但是里边的ApplicationContext不是,所以ApplicationContext会使用BizClassloader从app-one的本地加载; - 使用命令启动app-two,app-two同样需要用到BindingConverterContext类,使用sofa-rpc插件导出的class实例,该类不会冲突,但是ApplicationContext不是sofa-rpc导出的类,所以会使用BizClassloader从app-two的本地加载,这时因为app-one已经加载过BindingConverterContext,BindingConverterContext中的ApplicationContext已经绑定了app-one加载的ApplicationContext,而此时app-two又要尝试使用自己加载的ApplicationContext的class实例绑定BindingConverterContext,所以报了LinkageError; 解决方案: 1.不在同一个JVM中使用非jvm binding; 2.将spring相关的class也从sofa-rpc-boot-projects项目导出,这样ApplicationContext的class实例就会统一;

@jiang2015 有什么问题吗?

@codefromthecrypt I plan to add rocketmq support in brave, is there anything I need to pay attention to?

@codefromthecrypt

> ok I re-pushed into a single commit as we squash on merge anyway, and already spent the work to rebase this on master. > > NEXT STEP: > >...

However, regarding the current test case failure, I will address it as soon as possible.

@codefromthecrypt I don't know why the RocketMQ version in my code was upgraded from 4.6.0 to 5.1.4. Since there are significant differences between 5.1.4 and 4.x, the current goal is...

@codefromthecrypt Since that's the case, I'll go ahead and upgrade to version 5.1.4; it's already at version 5.1.4 now.

Sorry, I just finished the Chinese New Year holiday. I will handle it as soon as possible.

@codefromthecrypt I have completed all the modifications suggested during the code review.