일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 한국대학생it경영학회
- Spring
- GitHub Actions
- 큐시즘
- 약속 장소 추천
- redis
- 모이삼
- Container Registry
- 이펙티브자바
- kusitms
- RESTClient
- Spring Batch
- 자바 ORM 표준 JPA 프로그래밍
- 백엔드
- 중간 장소 추천
- 모임 장소 추천
- 쿠버네티스
- K3S
- 불변객체
- 도메인 주도 개발 시작하기
- java
- ddd
- Domain Driven Design
- JPA
- springboot
- 중간 지점 추천
- JPQL
- cicd
- 객체지향 쿼리 언어
- 최범균
- Today
- Total
목록Backend/Spring Cloud (2)
코딩은 마라톤

최근 외부 API 장애를 대응하기 위해 Timeout, Retry, Circuit Breaker을 적용했다.특히 Retry, Circuit Breaker는 Resilience4j를 활용해 application.yml에 값을 설정함으로써 개발을 진행했다.하지만 막상 적용해 보니 우여곡절을 겪어, 이번 글에서는 문제점과 해결 과정에 대해 공유하고자 한다.이번에 사용한 Resilience4j dependenciesimplementation 'io.github.resilience4j:resilience4j-spring-boot3'implementation 'org.springframework.boot:spring-boot-starter-aop'1️⃣ configs VS instances// configs 사용 ..

도입 배경HTTP Client를 사용할 때, RestClient, WebClient를 사용했었습니다.다만 RestClient, WebClient를 사용할 때는 Header와 Body 등에 필요한 값을 작성해야 합니다.하기 코드는 카카오 Local Rest API를 `RestClient`를 이용하여 연결한 코드입니다.public KakaoSearchResponse search(KakaoSearchRequest kakaoSearchRequest) { try { return RestClient.create() .get() .uri(uri) .headers(header -> { h..