Feign Retry

2022, Mar 19    
feign retry

feign retry

  1. 전역의 ribbon설정을 안쓰고자 함
  2. docker의 depends on도 방법

healthcheck: test: [“CMD”, “curl”, “-f”, “http://localhost:8040/actuator/health”] interval: 10s timeout: 5s retries: 10

  1. feignclient 내부 configuration으로 Retryer를 Bean으로 등록해서 backoff제어한다.

참고)

우아한 feign 적용기 - 우아한형제들 기술 블로그