spring-cloud / spring-cloud-netflix

Integration with Netflix OSS components
http://cloud.spring.io/spring-cloud-netflix/
Apache License 2.0
4.85k stars 2.43k forks source link

Support Spring RestClient as TransportClientFactory #4257

Open ZIRAKrezovic opened 4 months ago

ZIRAKrezovic commented 4 months ago

Describe the solution you'd like

Complements: https://github.com/spring-cloud/spring-cloud-netflix/issues/4255

Consider implementing RestClientTransportClientFactory to complement existing RestTemplateClientFactory (not exactly based on RestTemplate), which is kind of deprecated.

https://docs.spring.io/spring-framework/reference/integration/rest-clients.html#rest-restclient

See note: https://docs.spring.io/spring-framework/reference/integration/rest-clients.html#rest-resttemplate

OlgaMaciaszek commented 3 months ago

Makes sense.

injae-kim commented 2 months ago

FYI, PR: https://github.com/spring-cloud/spring-cloud-netflix/pull/4281

OlgaMaciaszek commented 2 months ago

Thanks, @injae-kim. @heowc is working on this now.