alibaba / alibaba/Sentinel

openfeign集成sentinel的问题

Open
#2,676 3 comments 0 reactions 0 assignees View on GitHub
area/integrations integration/spring-cloud kind/question wait-for-feedback
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

springCloud2021.0版本
alibaba2021.0.1版本
sentinel 1.8.3版本
在集成openFeign使用@FeignClient(value = "sentinel-provider", fallback = ProviderFeignSentinel.class) 指定熔断的方案是可以生效的,但是每次都会去调用,这样感觉没有熔断的效果,直到提供者从nacos缓存中移除后就快速失败了,如何去配置时间窗口和失败阈值呢? 下面这样的写法 没有用。不知道如何配置
![image](https://user-images.githubusercontent.com/45690508/163548910-fbd7f74c-4454-47df-9716-55e6f50f952b.png)

Contributor guide

Open the contributing guide

Research direction

Start with the @FeignClient declaration and ProviderFeignSentinel fallback described in the issue, using the stated Spring Cloud, Alibaba, and Sentinel versions. Reproduce the repeated calls and inspect how the Sentinel circuit-breaker time window and failure threshold are configured. Done means the configuration is identified or the integration problem is explained, with calls stopping after the threshold is reached.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.