longxok / sentinel-demo

Alibaba sentinel demo/阿里sentinel限流例子

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alibaba Sentinel限流Demo

启动项目

启动项目后,访问地址:http://localhost:18084/hello

启动Sentinel控制台

下载地址:http://edas-public.oss-cn-hangzhou.aliyuncs.com/install_package/demo/sentinel-dashboard.jar
执行java -jar sentinel-core-example.jar --server.port=18083启动控制台

配置限流策略

访问地址:http://localhost:18083 配置限流策略,用户名和密码都是sentinel

测试

...

参考

https://github.com/spring-cloud-incubator/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme.md

About

Alibaba sentinel demo/阿里sentinel限流例子


Languages

Language:Java 100.0%