zrlw commented on issue #8567:
URL: https://github.com/apache/dubbo/issues/8567#issuecomment-903355704


   可否这样修订:
   1.  将init方法里生成AsyncMethodInfo 
map(attributes变量)的代码提到checkAndUpdateSubConfigs调用前,将attributes变量序列化后作为入参传入checkAndUpdateSubConfigs方法;
   2. 
在checkAndUpdateSubConfigs方法repository.registerConsumer时,第一个入参由serviceMetadata.getServiceKey()改为serviceMetadata.getServiceKey()+attributes变量序列化串作为consumerModel
 map的key;
   3. 
在init方法调用createProxy(map)前,将attributes变量序列化串放入map传入createProxy:在createProxy方法生成consumerURL时,入参map中的AsyncMethodInfo
 Map序列化串将保存到invoker的URL;
   4.  
将所有调用ApplicationModel.getConsumerModel获取consumerModel的方法入参由serviceKey改为serviceKey+url里面保存的AsyncMethodInfo
 Map序列化串。
   大家看看如果这样做没有问题,我就去提交一个PR了。


-- 
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-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to