alibaba / alibaba/Sentinel

springboot2.7.5版本@SentinelRestTemplate不生效

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

Description

我的版本如下:

2.7.5
2021.0.4.0
2021.0.4

发现@SentinelRestTemplate放在restTemplate中不生效,feign之间的调用倒是没什么问题,求解答,我猜测是版本不兼容,
能否给一个兼容版本,我使用了官网推荐的 springboot版本是2.6.11,也是不生效

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported @SentinelRestTemplate behavior with Spring Boot 2.7.5, Alibaba Cloud 2021.0.4.0, and Spring Cloud 2021.0.4, then compare it with the reported Feign behavior. Check the compatibility documentation and relevant RestTemplate integration entry points; done means identifying whether the versions are compatible and explaining or correcting the missing Sentinel effect.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
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.