Microservices Communication – Feign Client

Microservices Communication – Feign Client Spring cloud OpenFeign provides OpenFeign Integration for spring boot apps through auto configuration and binding to the spring environment Without feign client in spring boot application, we can use Rest Template to call user service. To use Feign client we need to add spring-cloud-starter-OpenFeign dependency in pom.xml In our project, if one micro-service accesses another microservice then is called inter-service communication · Rest Client (External Communication) · Web Client(External Communication) · Feign Client(Internal Communication) When we use feign client we do need to configure API URL to access. Using the API name we can access API (Feign client will get API URL from Service Registry) Feign Client is part of Spring Cloud Netflix Libraries Open Feign is decla...