Support for using OpenFeign in Spring Cloud apps
1.3k
Stars
831
Forks
79
Open issues
30
Contributors
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.
Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.
AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.
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.
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.
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.
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.
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.
Not documented in README. Build instructions mention Docker for middleware testing, but no explicit test coverage metrics or strategy are stated.
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.
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
- 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.
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.
Newsletter
Get analyses like this every Monday
Free weekly digest of the most interesting open-source discoveries.
Languages
Information
- Language
- Java
- License
- Apache-2.0
- Last updated
- 2d ago
- Created
- 103mo ago
- Analyzed with
- anthropic/claude-haiku-4-5
Stars over time
Contributors over time
Top 100 contributors only — repos with more will plateau at 100.
Open issues
FeignClientsConfiguration$MicrometerConfiguration.class cannot be opened because it does not exist
MonetaryAmount not deserialized by Feign client despite JavaxMoneyModule registered as @Bean (Spring Boot 4 / Jackson 3)
Improve documentation on http client connection pool
Allow configuring shouldLogRequestHeader/shouldLogResponseHeader
Support multiple client-registration-id configurations
Top contributors
Recent releases
Similar repos
spring-cloud/spring-cloud-netflix
Spring Cloud Netflix provides integration with Netflix OSS components (Eureka,...
spring-cloud/spring-cloud-function
Spring Cloud Function is a Java framework for building serverless and...
zhoutaoo/SpringCloud
Opensabre is a SpringCloud 2023-based microservice development platform...
| Repository | Stars | Week Δ | Language | Score | Updated |
|---|---|---|---|---|---|
|
|
1.3k | — | Java | 7/10 | 2d ago |
|
|
9.8k | — | Java | 8/10 | 7h ago |
|
|
5k | — | Java | 7/10 | 17h ago |
|
|
1.1k | — | Java | 7/10 | 16h ago |
|
|
8.9k | — | — | 7/10 | 1mo ago |
|
|
1.4k | — | Java | 7/10 | 3w ago |
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.
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.
Alternative declarative REST client for Java. Less integrated with Spring; requires manual configuration. Smaller Spring ecosystem presence. Adoption skews toward non-Spring microservices.
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.
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.