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

请问网关在nacos上应该怎么配置呢 #1

Open
613lee opened this issue Jul 15, 2019 · 1 comment
Open

请问网关在nacos上应该怎么配置呢 #1

613lee opened this issue Jul 15, 2019 · 1 comment

Comments

@613lee
Copy link

613lee commented Jul 15, 2019

No description provided.

@xingcun
Copy link
Owner

xingcun commented Jul 16, 2019

在nacos配置上自行增加名为gate-sentinel-json的配置即可实现限流

[

   {
    "resource": "xc-admin", //服务名
    "count": 1,
    "intervalSec":1
  },
   {
    "resource": "aliyun_route",//或者自定义的路由名
    "count": 1,
    "intervalSec":1
  }
  
]

具体对接,可以看xc-gate相关内容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants