Spring Cloud Gateway

本项目提供了一个基于 Spring 生态系统构建的 API 网关,包括:Spring 6、Spring Boot 3 和 Project Reactor。Spring Cloud Gateway 旨在提供一种简单而有效的方式来路由 API,并为它们提供横切关注点,例如:安全性、监控/指标和弹性。

Spring Cloud Gateway 有两种不同的风格:Server(服务器)和 Proxy Exchange(代理交换)。每种风格都兼容 WebFlux 和 Web MVC。

  • Server 变体是一个功能齐全的 API 网关,可以独立运行或嵌入到 Spring Boot 应用程序中。

  • Proxy Exchange 变体专门用于基于注解的 WebFlux 或 Web MVC 应用程序,并允许将特殊的 ProxyExchange 对象作为参数用于 web 处理方法。

© . This site is unofficial and not affiliated with VMware.