摘要: 前提: 已经配置Zuul网关 参考: https://www.cnblogs.com/tianhengblogs/p/12495370.html 限流方式: 1)nginx层限流 2)网关层限流 1.添加限流过滤器 import com.alibaba.fastjson.JSON; import c 阅读全文
posted @ 2020-03-15 23:56 玉天恒 阅读(303) 评论(0) 推荐(0)
摘要: 前提: 已经配置Zuul网关 参考: https://www.cnblogs.com/tianhengblogs/p/12495370.html 1.添加登录过滤器 import com.alibaba.fastjson.JSON; import com.netflix.zuul.ZuulFilte 阅读全文
posted @ 2020-03-15 23:12 玉天恒 阅读(635) 评论(0) 推荐(0)
摘要: 报错信息: java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application.yml 解决方法: File -> Settings -> File Encodin 阅读全文
posted @ 2020-03-15 12:26 玉天恒 阅读(762) 评论(0) 推荐(0)
摘要: 1 1)报错信息 Description: The bean 'counterFactory', defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration$Zu 阅读全文
posted @ 2020-03-15 00:13 玉天恒 阅读(841) 评论(0) 推荐(0)
摘要: 简介 API Gateway,时系统的唯一对外的入口,介于客户端和服务端之间的中间层,处理非业务功能, 提供路由请求,鉴权,监控,缓存,限流等功能 统一接入 智能路由 AB测试、灰度测试 负载均衡、容灾处理 日志埋点(类似 Nignx日志)流量监控 限流处理 服务降级安全防护 鉴权处理 监控 机器网 阅读全文
posted @ 2020-03-15 00:09 玉天恒 阅读(219) 评论(0) 推荐(0)