alibaba / alibaba/Sentinel

Feign降级的支持粒度,能否支持服务粒度(Can feign support service granularity)

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

Description

## Issue Description
Feign限流降级好像只支持url粒度,能否支持服务粒度,就像对RestTemplate支持两种粒度一样(Feign's current limiting degradation seems to only support URL granularity. Can it support service granularity, just like resttemplate supports two kinds of granularity
![image](https://user-images.githubusercontent.com/68832358/115989330-66c73f00-a5f0-11eb-8848-7321a150b83e.png)

Type: *bug report* or *feature request*

### Describe what happened (or what feature you want)

### Describe what you expected to happen

### How to reproduce it (as minimally and precisely as possible)

1.
2.
3.

### Tell us your environment

### Anything else we need to know?

Contributor guide

Open the contributing guide

Research direction

Start by comparing Feign's current URL-granularity limiting and degradation behavior with the two granularity modes described for RestTemplate. Define the intended service-granularity behavior and verify it with focused Feign integration tests; done means Feign supports both URL and service granularity.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.