![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/98ede9c62c1cc26fd03d1d47c2beeb0f.png)
1.概述
视频:https://www.bilibili.com/video/BV18E411x7eT?p=124&spm_id_from=pageDriver
官网参考:热点参数限流
兜底方法
- 分为系统默认和客户自定义,两种
- 之前的case,限流出问题后,都是用sentine|系统默认的提示: Blocked by Sentinel (flow limiting)
我们能不能自定?类似hystrix,某个方法出问题了,就找对应的兜底降级方法?
结论.
从HystrixCommand到@SentinelResource
2.案例
2.1 参数限流
controller