1 Star 0 Fork 2

guarantor / springcloud-gateway

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

API网关

1、技术方案

  • SpringCloud Alibaba - Nacos:注册中心(服务发现/注册)
  • SpringCloud Alibaba - Nacos:配置中心(动态配置管理)
  • SpringCloud - Feign:声明式HTTP客户端(调用远程服务)
  • SpringCloud - Gateway:API网关(webflux编程模式)

2、Nacos

3、SpringCloud Gateway

3.1 简介
  • 网关作为流量入口,常用功能包括路由转发、权限校验、限流控制等等。而SpringCloud GateWay作为SpringCloud官方提出的第二代网关框架,取代了zuul网关。
3.2 概念
  • route: 路由
  • predicate: 断言
  • filter: 过滤器

请求到达网关,先通过断言判断是否符合路由规则,如果符合路由规则就通过一系列的过滤器路由到指定的路由。

示意图

空文件

简介

SpringCloud-AlibabaNacos中API网关的简单运用 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/guarantor/springcloud-gateway.git
git@gitee.com:guarantor/springcloud-gateway.git
guarantor
springcloud-gateway
springcloud-gateway
master

搜索帮助