Skip to content

feat: support Sentinel flow control for RestClient#4273

Open
uuuyuqi wants to merge 3 commits intoalibaba:2025.1.xfrom
uuuyuqi:uuuyuqi/2025.1.x-sentinel-restclient-support
Open

feat: support Sentinel flow control for RestClient#4273
uuuyuqi wants to merge 3 commits intoalibaba:2025.1.xfrom
uuuyuqi:uuuyuqi/2025.1.x-sentinel-restclient-support

Conversation

@uuuyuqi
Copy link
Collaborator

@uuuyuqi uuuyuqi commented Feb 27, 2026

Describe what this PR does / why we need it

Support Sentinel flow control for RestClient

Does this pull request fix one issue?

None

This PR builds upon the original work by @QHtttttt . Thank you for the contribution! I have made a few minor fixes on top of it.

QHtttttt and others added 2 commits February 26, 2026 14:14
- Add SentinelRestClientInterceptor to intercept RestClient requests
- Add SentinelRestClientBeanPostProcessor to auto-inject interceptor
- Add SentinelRestClientHttpResponse for blocked request responses
- Support flow control (QPS limiting) and circuit breaking (degrade)
- Support custom blockHandler and fallback handlers
- Support URL cleaner for RESTful path normalization

Change-Id: Iedbe1dbe377eb5e1a6531c86c9c9850adcad12fb
Co-developed-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@uuuyuqi uuuyuqi changed the title feat: support Sentinel flow control for RestClient [WIP]feat: support Sentinel flow control for RestClient Feb 27, 2026
@uuuyuqi uuuyuqi added area/sentinel spring cloud alibaba sentinel area/ospp 开源之夏赛题 labels Feb 27, 2026
…er for each RestClient

Change-Id: Id9c65c5e44e97ffbbee804265db2f0bcf59d7ce0
Co-developed-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@uuuyuqi uuuyuqi requested a review from LearningGp March 2, 2026 09:55
@uuuyuqi uuuyuqi changed the title [WIP]feat: support Sentinel flow control for RestClient feat: support Sentinel flow control for RestClient Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ospp 开源之夏赛题 area/sentinel spring cloud alibaba sentinel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants