alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.21k stars 12.83k forks source link

springcloudgateway+nacos+ribbon #6054

Closed wyx-98 closed 3 years ago

wyx-98 commented 3 years ago

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

在使用springcloud gateway做服务转发时,调用ribbon的进行服务发现时,不同namespace下的偶尔会出现服务串联调用的情况

Describe what you expected to happen

不同namespace下的环境相互隔离

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

使用docker部署服务

KomachiSion commented 3 years ago

可能ribbon应该自己生成了一个nacos-client,但是namespace可能没有指定对。

能否进行debug,看下是否是nacos-client的namespace串了,如果不是。请提issue到ribbon或者SCG社区。