awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
spring-cloud avatar

spring-cloud/spring-cloud-gateway

0
View on GitHub↗
4,883 星标·3,458 分支·Java·Apache-2.0·7 次浏览cloud.spring.io↗

Spring Cloud Gateway

Spring Cloud Gateway 是一个基于 Spring Boot 的 API 网关和路由服务。它作为微服务的中央入口点,使用谓词和过滤器的组合将传入的 HTTP 流量引导至下游服务。

该项目是一个非阻塞请求路由器,利用 Netty 和 Project Reactor 通过异步数据流处理高并发流量。它作为一个动态请求路由器和网络流量过滤器,允许在动态网络环境中自动检测并路由到可用的服务实例。

该网关通过基于路径、方法、头信息或主机标准映射请求来管理微服务流量。它提供了网络流量修改功能,包括通过过滤器流水线重写 URL 路径以及更改请求和响应头。

Features

  • Microservice Traffic Management - Functions as a central entry point for routing and balancing traffic between distributed microservices.
  • Gateway-Based Request Routings - Acts as an external entry point that applies authentication, rate limiting, and path rewriting before forwarding to microservices.
  • Spring Cloud Implementations - Implements the API gateway pattern as part of the Spring Cloud ecosystem for routing and service discovery.
  • API Gateways - Provides a full API gateway implementation for routing external requests to internal microservices.
  • Service Discovery - Provides mechanisms for dynamically locating and routing to service instances in elastic microservices environments.
  • Registry-Based Service Discovery - Employs a registry-based discovery pattern to track and resolve dynamic service member addresses.
  • Dynamic Service Discovery - Resolves logical service names into physical network addresses in real-time for microservices communication.
  • Network Traffic Routing - Directs incoming network requests to specific backend services as a single entry point for all traffic.
  • Network Traffic Transformers - Modifies network headers, parameters, and paths in real-time using a pipeline of filters.
  • Asynchronous Data Streams - Processes network requests as asynchronous data streams using Project Reactor's Flux and Mono.
  • Request Routers - Intercepts and forwards network requests based on dynamic rules including paths, methods, headers, or host criteria.
  • Request and Response Transformations - Implements a pipeline of filters to rewrite URL paths and alter request and response headers.
  • Traffic Routing - Directs HTTP requests to downstream services based on path, method, header, or host criteria.
  • Request and Response Filters - Provides a sequence of filters to alter request and response headers and rewrite paths.
  • Non-blocking I/O - Utilizes non-blocking I/O and an event-loop model to handle high-concurrency network traffic.
  • Request-Response Filter Chains - Implements a modular sequence of interceptors to mutate and validate request and response traffic.
  • Predicate-Based Request Filtering - Evaluates configurable boolean predicates to conditionally dispatch incoming HTTP requests to backend services.
  • Service Discovery Integrations - Integrates with discovery clients to dynamically locate microservice instances without hardcoded addresses.
  • Asynchronous Request Routers - Leverages Netty and Project Reactor as a high-performance engine for mapping traffic to concurrent handlers.
  • Dynamic Service Mapping - Maps incoming HTTP requests to downstream services based on the runtime evaluation of paths and headers.
  • Request Path Rewriters - Provides utilities for rewriting URL paths and modifying headers before they reach backend services.
  • Tiered Route Filters - Provides a tiered filtering architecture that separates global interceptors from route-specific logic.
  • Service Discovery Integrations - Integrates with external naming services and registries to automatically detect and route to available service instances.
  • Request and Response Transformers - Modifies data payloads and headers during the request and response lifecycle via filter chains.
  • API Gateways - Routing and filtering solution for the Spring ecosystem.

Star 历史

spring-cloud/spring-cloud-gateway 的 Star 历史图表spring-cloud/spring-cloud-gateway 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

spring-cloud/spring-cloud-gateway 是做什么的?

Spring Cloud Gateway 是一个基于 Spring Boot 的 API 网关和路由服务。它作为微服务的中央入口点,使用谓词和过滤器的组合将传入的 HTTP 流量引导至下游服务。

spring-cloud/spring-cloud-gateway 的主要功能有哪些?

spring-cloud/spring-cloud-gateway 的主要功能包括:Microservice Traffic Management, Gateway-Based Request Routings, Spring Cloud Implementations, API Gateways, Service Discovery, Registry-Based Service Discovery, Dynamic Service Discovery, Network Traffic Routing。

spring-cloud/spring-cloud-gateway 有哪些开源替代品?

spring-cloud/spring-cloud-gateway 的开源替代品包括: alibaba/higress — Higress is an AI API gateway and cloud-native traffic manager that functions as a Kubernetes ingress controller. It… fabiolb/fabio — Fabio is a network gateway that provides reverse proxying, layer 7 traffic management, and automated service discovery… ityouknow/spring-cloud-examples — This is a learning collection of example projects that demonstrate core Spring Cloud patterns for building… linkerd/linkerd2 — This project is a service mesh platform designed to manage, secure, and observe service-to-service communication… containous/traefik — Traefik is a cloud-native load balancer and dynamic reverse proxy designed for microservices traffic routing. It… apache/dubbo-admin — dubbo-admin is a web-based administration console and management interface for the Apache Dubbo ecosystem. It serves…

Spring Cloud Gateway 的开源替代方案

相似的开源项目,按与 Spring Cloud Gateway 的功能重合度排序。
  • alibaba/higressalibaba 的头像

    alibaba/higress

    7,558在 GitHub 上查看↗

    Higress is an AI API gateway and cloud-native traffic manager that functions as a Kubernetes ingress controller. It provides a centralized system for routing, securing, and optimizing traffic directed toward large language models, AI agents, and microservice architectures. The project distinguishes itself through deep AI orchestration, including the ability to host and manage Model Context Protocol servers that transform REST APIs into tools for AI agents. It features specialized AI infrastructure for model request proxying, protocol translation across multiple providers, and semantic-based c

    Goai-gatewayai-nativeapi-gateway
    在 GitHub 上查看↗7,558
  • fabiolb/fabiofabiolb 的头像

    fabiolb/fabio

    7,332在 GitHub 上查看↗

    Fabio is a network gateway that provides reverse proxying, layer 7 traffic management, and automated service discovery mapping. It functions as an HTTP reverse proxy, a gRPC and TCP proxy, and a service discovery gateway to route incoming traffic to healthy backend instances. The project distinguishes itself through deep integration with service registries, specifically acting as a Consul load balancer to automatically synchronize routing tables and update destination targets. It manages diverse traffic types using SNI-based routing for raw TCP streams and maintains full protocol compatibilit

    Go
    在 GitHub 上查看↗7,332
  • ityouknow/spring-cloud-examplesityouknow 的头像

    ityouknow/spring-cloud-examples

    6,196在 GitHub 上查看↗

    This is a learning collection of example projects that demonstrate core Spring Cloud patterns for building microservice architectures. The repository covers the fundamental building blocks of a microservices system, including service discovery through a central registry, centralized configuration management from Git or SVN repositories, API gateway-based request routing, circuit breaker patterns for fault tolerance, and distributed request tracing across service boundaries. The examples show how to implement service registration and dynamic discovery so that clients can locate microservices b

    Javaeurekahystrixhystrix-dashboard-turbine
    在 GitHub 上查看↗6,196
  • linkerd/linkerd2linkerd 的头像

    linkerd/linkerd2

    11,424在 GitHub 上查看↗

    This project is a service mesh platform designed to manage, secure, and observe service-to-service communication within Kubernetes clusters. It functions as a control plane that orchestrates transparent sidecar proxies, which intercept and manage network traffic to provide reliable connectivity for microservices. By automating the injection of these proxies, the platform ensures that infrastructure-level policies are applied consistently across all workloads without requiring manual configuration changes. The platform distinguishes itself through its focus on zero-trust security and cross-clu

    Gocloud-nativegolangkubernetes
    在 GitHub 上查看↗11,424
  • 查看 Spring Cloud Gateway 的所有 30 个替代方案→