spring-cloud / spring-cloud/spring-cloud-netflix
Deprecate RestTemplate eureka client support replace with WebClient
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 5k
- Forks
- 2.5k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 10
Description
From RestTemplate.java#L78-L81
The RestTemplate will be deprecated in a future version and will not have major new features added going forward. See the WebClient section of the Spring Framework reference documentation for more details and example code.
Deprecate RestTemplate* classes.
Allow WebClient versions to be activated by a property.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with spring-web/src/main/java/org/springframework/web/client/RestTemplate.java at lines 78-81, then locate the RestTemplate* classes used by the Eureka client. Review how the client implementation is selected before defining the property-controlled WebClient path. Done means the RestTemplate classes are deprecated and WebClient versions can be activated through a property.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100