문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
springframework:feign [2018/12/26 15:38] kwon37xi |
springframework:feign [2023/11/28 08:51] (현재) kwon37xi [Java 기본 HttpClient 사용시 문제점] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Fegin ====== | ====== Fegin ====== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
* HTTP Api 호출 client를 Spring Data 처럼 interface 작성만으로 가능한 수준으로 만들어준다. | * HTTP Api 호출 client를 Spring Data 처럼 interface 작성만으로 가능한 수준으로 만들어준다. | ||
+ | * see [[springframework: | ||
+ | * [[springframework: | ||
+ | ===== async/ | ||
+ | * openfeign 10.8 버전부터 Async 를 지원하고, | ||
+ | |||
+ | ===== retry ===== | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Java 기본 HttpClient 사용시 문제점 ===== | ||
+ | * Java 17 미만 버전의 HttpClient 에는 '' | ||
+ | * [[java: | ||
+ | * [[java: | ||
+ | |||
+ | ==== 의존성 ==== | ||
+ | <code groovy> | ||
+ | implementation(" | ||
+ | </ | ||
+ | |||
+ | ==== Spring Boot property 설정 ==== | ||
+ | <code yaml> | ||
+ | feign.httpclient.hc5.enabled: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 참조 ==== | ||
+ | * [[https:// | ||
===== 참조 ===== | ===== 참조 ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |