一 代码位置 https://github.com/cakin24/spring-cloud-code/tree/master/ch18-6/ch18-6-2-gateway https://github.com/cakin24/spring-cloud-code/tree/master/ch18-6/ch18-6-provider 二 测试 1 启动ch18-6-2-gateway 2 启动ch18-6-provider 浏览器不停的访问: http://localhost:8081/test/rateLimit 限流起到作用。