spring-cloud / spring-cloud/spring-cloud-netflix

Deprecate RestTemplate eureka client support replace with WebClient

Open
#3,736 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

closable
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.