spring-cloud

spring-cloud/spring-cloud-openfeign

Java Apache-2.0 Web Dev feature-complete-only-bugfixes

Support for using OpenFeign in Spring Cloud apps

1.3k stars
831 forks
active
GitHub

1.3k

Stars

831

Forks

79

Open issues

30

Contributors

v5.0.2 11 Jun 2026

AI Analysis

Spring Cloud OpenFeign provides declarative REST client support for Spring Cloud applications by creating dynamic implementations of JAX-RS or Spring MVC annotated interfaces using OpenFeign. It is specialized for Spring Cloud microservices that need to perform inter-service HTTP communication with minimal boilerplate. The project is now feature-complete as of Spring Cloud 2022.0.0, and the maintainers recommend Spring HTTP Service Clients as the forward path for new projects.

Web Dev Library Discovery value: 2/10
Documentation 7/10
Activity 9/10
Community 8/10
Code quality 6/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 7/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

declarative-rest-client spring-cloud feign microservices http-client
Actively maintained Well documented Niche/specialized use case Apache-2.0 licensed Production ready
Deep Analysis · Based on README and public signals
6d ago

Spring Cloud OpenFeign: Declarative REST client library for Spring microservices, now in feature-complete maintenance mode

Spring Cloud OpenFeign is an integration layer that brings Netflix Feign's declarative REST client capabilities to Spring Cloud applications. It allows developers to define REST clients using Java interfaces with Spring MVC or JAX-RS annotations, reducing boilerplate HTTP client code. Widely adopted in Spring Cloud microservices ecosystems. As of December 2022, the project was declared feature-complete and moved to maintenance-only status, with the Spring team recommending migration to native Spring HTTP Service Clients instead.

Origin

Created in 2018 as part of Spring Cloud's initiative to provide higher-level abstractions for microservices patterns. Built atop Netflix's OpenFeign library, it bridged Feign's declarative REST approach with Spring's annotation-driven configuration model during the peak microservices adoption wave.

Growth

Gained adoption through Spring Cloud's broad ecosystem reach and the microservices trend (2018–2022). Growth appears to have plateaued after the feature-complete announcement in December 2022. Star growth is now negligible (1 star in 7 days as of 2026-07-05), reflecting maturity and migration of new projects toward Spring HTTP Service Clients. Repositories citing it as a dependency remain common in Spring Cloud examples and tutorials.

In production

Adoption not verified through README alone. However, context clues suggest significant legacy adoption: Spring Cloud OpenFeign has been the standard Feign integration in Spring Cloud for years, making it likely present in many production Spring microservices. The existence of migration guidance (recommending Spring HTTP Service Clients) implies substantial existing user base. No concrete metrics on production deployment scale or customer count provided.

Code analysis
Architecture

Based on README, appears to be a thin Spring integration wrapper around Netflix Feign. Likely uses dynamic proxy generation to create implementations of annotated interfaces at runtime, with support for both JAX-RS and Spring MVC annotations. README does not detail internal architecture or design patterns.

Tests

Not documented in README. Build instructions mention Docker for middleware testing, but no explicit test coverage metrics or strategy are stated.

Maintenance

Last push 2026-06-23 (12 days before current date of 2026-07-05) indicates active maintenance. However, the project is explicitly feature-complete as of December 2022. Recent activity likely consists of bug fixes, security patches, and dependency updates rather than new capabilities. Maven CI/CD pipeline is active per badge reference.

Honest verdict

ADOPT IF: You are maintaining or extending an existing Spring Cloud microservices application already using OpenFeign and must avoid migration overhead; or you have organizational standardization on Feign-style declarative clients and need Spring integration. AVOID IF: You are starting a new Spring application and can target Spring Framework 6.0+; use native Spring HTTP Service Clients instead per official Spring guidance. MONITOR IF: You own a legacy Spring Cloud OpenFeign deployment; plan a gradual migration path to Spring HTTP Service Clients, but do not rush—maintenance will continue for the foreseeable future.

Independent dimensions

Mainstream potential

3/10

Technical importance

6/10

Adoption evidence

5/10

Risks
  • Feature-complete status since December 2022 means no new capabilities will be added; only bug fixes and security patches. Any architectural limitation is permanent.
  • Official migration path away from OpenFeign to Spring HTTP Service Clients may reduce tooling ecosystem support and community activity over time.
  • Dependency on external Feign library means changes to core Feign may introduce compatibility issues or require coordination.
  • Spring HTTP Service Clients may eventually supersede OpenFeign in Spring Cloud tutorials and examples, making OpenFeign knowledge less transferable to new projects.
  • No evidence of major adoption by non-Spring microservices projects, limiting ecosystem diversity and alternative use cases.
Prediction

Spring Cloud OpenFeign will remain in stable maintenance mode for 3–5 years, with a slow decline in adoption as new projects standardize on Spring HTTP Service Clients. Existing production deployments will persist but receive primarily security and compatibility patches. Likely to be formally deprecated (though not removed) within Spring Cloud 2027–2028 timeframe.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Java
96.3%
CSS
3.6%
Ruby
0.1%

Information

Language
Java
License
Apache-2.0
Last updated
2d ago
Created
103mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

OpenFeign

OpenFeign/feign

Feign is a Java HTTP client library that simplifies binding Java code to REST...

9.8k Java Dev Tools
spring-cloud

spring-cloud/spring-cloud-netflix

Spring Cloud Netflix provides integration with Netflix OSS components (Eureka,...

5k Java Dev Tools
spring-cloud

spring-cloud/spring-cloud-function

Spring Cloud Function is a Java framework for building serverless and...

1.1k Java Dev Tools
zhoutaoo

zhoutaoo/SpringCloud

Opensabre is a SpringCloud 2023-based microservice development platform...

piomin

piomin/sample-spring-microservices-new

This is a comprehensive demo repository showcasing Spring Cloud microservices...

1.4k Java Dev Tools
vs. alternatives
OpenFeign/feign (parent library)

Spring Cloud OpenFeign is a Spring-specific wrapper around the core Feign library (9,788 stars). OpenFeign handles the fundamental declarative REST logic; Spring Cloud OpenFeign adds Spring integration, auto-configuration, and cloud-native features. Most Spring users use OpenFeign only through this wrapper.

Spring Framework HTTP Service Clients (RestClient, WebClient, @HttpExchange)

The Spring team's native, non-Feign alternative as of Spring Framework 6.0+. No dependency on external library. Spring Cloud documentation now recommends this for new projects. Likely to become the standard for new Spring applications. OpenFeign retained for backward compatibility and existing codebases.

Retrofit (Square)

Alternative declarative REST client for Java. Less integrated with Spring; requires manual configuration. Smaller Spring ecosystem presence. Adoption skews toward non-Spring microservices.

RestTemplate / WebClient (legacy Spring)

Lower-level Spring HTTP abstractions. Require more boilerplate but offer finer control. RestTemplate is in maintenance mode; WebClient is the reactive alternative. Both predate the Spring HTTP Service Client recommendation.

Spring Cloud Netflix (Hystrix, Ribbon)

Related Spring Cloud project for circuit breaking and load balancing. Often paired with OpenFeign in older microservices architectures. Both facing similar deprecation/migration pressures as the ecosystem evolves.