How to Customize Feign’s Retry Mechanism

Ruhshan Ahmed Abir
Nov 30, 2020 · 4 min read
Image Credit: Quotefancy.com

In micro-service architecture it is common that one micro-service communicates with another by consuming REST APIs. In the spring ecosystem a popular REST client is Feign because of its declarative style and DRY approach for adding different configuration.

In this post I will talk about enabling retry mechanism for feign Client. By instinct what we can do is update our business code where we…