dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Question about ModuleServiceRepository

Open BurningCN opened this issue 3 years ago • 3 comments

I want to ask why the value of the first two maps is List? And the kv of the last providers is one-to-one, should the kv of the first two maps also be one-to-one?(想问下前两个mapvalue为什么是List?而最后的providerskv是一对一的。是不是前两个mapkv也应该是一对一的?)

image

BurningCN avatar Aug 09 '22 15:08 BurningCN

service => In a multi-classloader scenario, there may be two interfaces with different service descriptors. consumer => Dubbo supports multiple consumers, that is, multiple linseners can be created on the same service. provider => Dubbo only supports exporting one service in the same context. Otherwise, Dubbo will not be able to distinguish which service the request belongs to.

AlbumenJ avatar Aug 10 '22 13:08 AlbumenJ

Thank you, looking at the todo here, there is no classloader dimension added to the access of services. Does it need to be improved? image

BurningCN avatar Aug 10 '22 13:08 BurningCN

Thank you, looking at the todo here, there is no classloader dimension added to the access of services. Does it need to be improved? image

yep, if possible

AlbumenJ avatar Aug 12 '22 06:08 AlbumenJ