Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug:nacos.lua 脚本 同样的服务名称不同分组的实例,会存储到同一个nacos服务节点中 #5061

Closed
13030509 opened this issue Sep 14, 2021 · 1 comment · Fixed by #5083
Assignees
Labels
bug Something isn't working

Comments

@13030509
Copy link

Issue description

image
同样的服务名称,不同分组,通过nacos.lua分组后,不同分组的实例都会注册到同一个服务底下。

Environment

  • apisix version (cmd: apisix version):
  • OS (cmd: uname -a):
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):
  • etcd version, if have (cmd: run curl http://127.0.0.1:9090/v1/server_info to get the info from server-info API):
  • apisix-dashboard version, if have:
  • luarocks version, if the issue is about installation (cmd: luarocks --version):
@13030509
Copy link
Author

image
image

配置了2个route 分别路由到同一个nacos服务不同的分组,请求会落到同一个服务的不同分组。
image

nacos.lua 存储host信息的key是servicename,同一个服务不同的group或者namespace不能区分。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants