Feign is a declarative web service client. It makes writing web service clients easier. To use Feign create an interface and annotate it. It has pluggable annotation support including Feign annotations and JAX-RS annotations.
Why do we need feign client?
The Feign is a declarative web service (HTTP client) developed by Netflix. Its aim is to simplify the HTTP API clients. ... It makes web service clients easier. The developers can use declarative annotations to call the REST services instead of writing representative boilerplate code.
What is the use of Feign client in Microservices?
What Is a Feign Client? Feign provides an abstraction over REST-based calls via annotation, by which microservices can use to communicate with each other without writing detailed REST client code.