Spring Cloud OpenFeign - SirajChaudhary/comprehensive-example-on-microservices-using-spring-boot-with-spring-cloud GitHub Wiki

Spring Cloud OpenFeign is a declarative REST client for spring boot microservices.

Step1: Add spring cloud openfeign dependency in pom.xml in microservice where we create OpenFeign client

<!-- spring cloud starter openfeign -->
<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-starter-openfeign</artifactId>
	<version>${spring-cloud.version}</version>
</dependency>

Step2: Create a OpenFeign client

Step3: Use a OpenFeign client

⚠️ **GitHub.com Fallback** ⚠️