spring-cloud-alibaba icon indicating copy to clipboard operation
spring-cloud-alibaba copied to clipboard

nacos 跨group调用问题 讨论

Open galaxy-sea opened this issue 2 years ago • 2 comments

Which Component Nacos Discovery

Describe the bug

nacos discovery 跨 group的问题我跟踪了一下,看了一下代码实现, 现在的设计是Namespace和group是同一个概念了.

看了nacos的官网文档,nacos的group和Spring Cloud的clusterName才是同一个概念

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

galaxy-sea avatar Apr 15 '22 02:04 galaxy-sea

Which Component Nacos Discovery

Describe the bug

nacos discovery 跨 group的问题我跟踪了一下,看了一下代码实现, 现在的设计是Namespace和group是同一个概念了.

看了nacos的官网文档,nacos的group和Spring Cloud的clusterName才是同一个概念

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

The group of Nacos discovery is used for weak isolation scenarios. For example, the same service has grpc protocol and http protocol. You can choose to use or not use it according to the actual business situation.

li-xiao-shuang avatar Jun 26 '22 12:06 li-xiao-shuang

我觉得nacos-discovery不应该默认group, 应该把group的选择权交给rpc框架, 由rpc框架选择要不要进行group

galaxy-sea avatar Jun 28 '22 02:06 galaxy-sea