Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between openfeign or feign

What is the difference between:

  • spring-cloud-starter-openfeign (https://github.com/spring-cloud/spring-cloud-openfeign) and
  • spring-cloud-starter-feign (https://github.com/spring-cloud/spring-cloud-netflix) ?

I found this issue when I was trying to follow a tutorial using openfeign @FeignClient(name=...). However, I was using feign, not openfeign, and this annotation was not the same.

Isn't it the same thing?

like image 940
Mohamed Taboubi Avatar asked Jul 29 '26 22:07

Mohamed Taboubi


1 Answers

OpenFeign is the spiritual successor to Feign, originally provided by Netflix. The projects name was changed when the original project was released to the community. The correct dependency is spring-cloud-starter-openfeign.

like image 172
Kevin Davis Avatar answered Aug 01 '26 05:08

Kevin Davis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!