Skip to main content

One doc tagged with "Spring Cloud"

View all tags

FeignClient으로 PG연동하기

TL;DR — FeignClient는 HTTP 클라이언트 코드를 인터페이스 선언만으로 끝낼 수 있는 Spring Cloud 라이브러리다. 처음엔 RestTemplate이랑 뭐가 다른가 싶었는데, 직접 PG 연동에 써보니 확실히 달랐다.