spring-cloud

spring-cloud/spring-cloud-gateway

Java Apache-2.0 DevOps

An API Gateway built on Spring Framework and Spring Boot providing routing and more.

4.9k stars
3.5k forks
active
GitHub +5 / week

4.9k

Stars

3.5k

Forks

528

Open issues

30

Contributors

v5.0.2 11 Jun 2026

AI Analysis

Spring Cloud Gateway is a production-grade API gateway built on Spring Framework and Spring Boot, designed for microservices architectures. It provides dynamic routing, request/response filtering, circuit breaking, and service discovery integration, serving organizations that need a resilient gateway layer for Spring-based systems. It is purpose-built for enterprise microservices ecosystems and is not a general-purpose proxy for non-Spring architectures.

DevOps Infrastructure Discovery value: 2/10
Documentation 8/10
Activity 9/10
Community 9/10
Code quality 7/10

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

Overall score 8/10

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

api-gateway microservices spring-cloud reactive-networking service-mesh
Actively maintained Well documented Popular Niche/specialized use case Production ready
Deep Analysis · Based on README and public signals
1w ago

Spring Cloud Gateway: Production API Gateway for Java Spring Ecosystems

Spring Cloud Gateway is an API gateway built on Spring Framework 6 and Spring Boot 3, providing dynamic routing, request/response filtering, and service discovery integration. It serves organizations already committed to the Spring/Java ecosystem who need a gateway component with Spring semantics. Adoption appears concentrated within Spring-native development shops; no public evidence of adoption outside Java/Spring contexts.

Origin

Created November 2016 as part of Spring Cloud, evolved through Spring Boot versions to reach Java 17 + Spring Framework 6 maturity. Represents Spring's native answer to API gateway needs, positioning as alternative to infrastructure-level gateways (nginx, Kong) for Spring shops.

Growth

Star growth is steady but modest: 4 stars in last 7 days (as of July 2026) reflects mature, stable project in slow-growth phase. Last commit July 1, 2026 shows active maintenance. Growth appears driven by Spring ecosystem adoption cycles rather than new market expansion. Forks (3,458) suggest integration into internal Spring-based platforms rather than organic community adoption surge.

In production

Adoption not verified from public metadata. Spring Cloud is an official VMware/Pivotal project with institutional backing, which may indicate enterprise production use, but no published case studies, user testimonials, or quantified deployment numbers are evident in provided materials. Adoption likely exists within Spring-native enterprises but remains undocumented publicly.

Code analysis
Architecture

Based on README: dynamic routing via Spring Handler Mapping, composable filters (request/response modification, circuit breakers, header manipulation), API and configuration-driven routing modes, Spring Cloud DiscoveryClient integration. Likely built on Spring's reactive stack given Spring Boot 3 requirement. README does not expose internal architecture details; implementation quality cannot be assessed from available metadata.

Tests

Codecov badge present in README indicating coverage tracking; specific percentage not documented in excerpt. Testing approach not detailed beyond badge reference.

Maintenance

Last push July 1, 2026 (within 24 hours of analysis date) indicates active, ongoing maintenance. Build badge and codecov integration suggest CI/CD rigor. No evidence of backlog accumulation or issue stagnation provided in metadata. Project appears continuously maintained rather than in maintenance-mode or stagnant state.

Honest verdict

ADOPT IF: Your organization is Spring-native, has standardized on Spring Boot microservices, requires embedded rather than infrastructure-level gateway logic, and benefits from Spring configuration semantics and DiscoveryClient integration. AVOID IF: You need language-agnostic or polyglot gateway handling, require standalone infrastructure isolation, or operate non-Spring stacks. MONITOR IF: You are evaluating Spring vs. infrastructure-first gateway architectures, or planning large-scale heterogeneous microservice deployments where embedded Spring logic may become a maintenance liability.

Independent dimensions

Mainstream potential

4/10

Technical importance

7/10

Adoption evidence

3/10

Risks
  • Java/Spring-only: Cannot serve non-JVM services; limits utility in polyglot microservice environments.
  • Embedded architecture: Gateway logic runs inside application JVM, increasing per-instance resource footprint and complicating independent gateway scaling compared to infrastructure-level gateways.
  • Spring expertise dependency: Requires Spring-competent ops/dev teams; steeper adoption curve for non-Spring shops than language-agnostic alternatives.
  • Limited ecosystem visibility: No public evidence of cross-organizational adoption or shared operator tooling/runbooks, suggesting knowledge sharing may be limited.
  • Tight Spring version coupling: Java 17 + Spring Framework 6 requirement may lag or lead organizationally if Spring upgrade cadence misaligns with infrastructure schedules.
Prediction

Spring Cloud Gateway will remain a stable, actively maintained component within the Spring Cloud ecosystem, with adoption plateauing in Spring-native shops and likely seeing no significant market share expansion outside Java/Spring contexts. May gradually lose relevance as infrastructure-level mesh and Kubernetes ingress solutions commoditize, but will persist as the recommended embedded gateway for Spring Boot applications.

0 found this helpful

Newsletter

Get analyses like this every Monday

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

Languages

Java
99.6%
Kotlin
0.3%
Lua
0%
HTML
0%

Information

Language
Java
License
Apache-2.0
Last updated
2d ago
Created
117mo 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

spring-cloud

spring-cloud/spring-cloud-stream

Spring Cloud Stream is a framework for building event-driven microservices with...

1.1k Java Dev Tools
spring-projects

spring-projects/spring-boot

Spring Boot is an opinionated Java framework built on top of the Spring...

81.2k Java Web Dev
awspring

awspring/spring-cloud-aws

Spring Cloud AWS is a Spring Boot integration library that simplifies the use...

1.1k Java Dev Tools
kgateway-dev

kgateway-dev/kgateway

kgateway is a Kubernetes-native API gateway built on Envoy that implements the...

5.6k Go DevOps
vs. alternatives
Kong (Go ecosystem)

Kong runs as standalone infrastructure, language-agnostic, with plugin ecosystem. Spring Cloud Gateway is embedded in Java apps, Spring-native, requires Java/Spring expertise. Kong scales horizontally as independent service; Gateway scales as embedded component.

AWS API Gateway

AWS Gateway is managed SaaS, vendor-locked, polyglot. Spring Cloud Gateway runs on-premise/self-hosted, open-source, Java-only. Different deployment model and operational burden.

Envoy / Istio (infrastructure layer)

Envoy/Istio operate at infrastructure/mesh level, language-independent, Kubernetes-native. Spring Cloud Gateway operates within Spring apps, requires application-level integration, Java-specific. Different abstraction layers.

Spring Cloud OpenFeign / Netflix Zuul (deprecated)

OpenFeign is client-side load balancing; Gateway is server-side reverse proxy. Zuul was Spring's earlier gateway option, now superseded by Spring Cloud Gateway as recommended path.