> For AI agents: the complete documentation index is available at /docs/llms.txt, the full documentation bundle is available at /docs/llms-full.txt.

# Spring Cloud Gateway

## 动态路由

todo

## 过滤器

### 登陆认证

todo

### 跨域

todo

### 链路追踪

todo

## 参考文档

- [CORS + X-Trace-Id：traceId 返回前端的最后一公里](https://mp.weixin.qq.com/s/4Pzu1ORq6L9-Ah06rN0ScQ)
- [将Spring Cloud Gateway 与OAuth2模式一起使用](https://mp.weixin.qq.com/s/2ZHl8FiZGzZbK17KVlgF5Q)
- [gateway网关路由动态注册管理实现方案](https://mp.weixin.qq.com/s/lUIetvfZCBQR_BcWe4DYjg)
- [Spring Cloud 微服务上 K8s 实战](https://mp.weixin.qq.com/s/vZ5iF4H6ZfFTRW9tO7TA0A)
- 过滤器
  - [Spring Cloud Gateway自研限流/熔断/灰度发布插件开发实录](https://mp.weixin.qq.com/s/-H50yWX83hz5e0ZjZ4EDSQ)
  - [十万个why：Spring Cloud Gateway 的限流明明生效，为啥突发流量还会将下游服务打挂？](https://mp.weixin.qq.com/s/oOj02yBXorb3Tz-blOEwlw)
  - [SpringCloud Gateway 生产级网关实战：自定义过滤器、Redis令牌桶限流、Sentinel熔断、灰度路由完整配置](https://mp.weixin.qq.com/s/2XenZmFrrrMr0gkVveh_KA)
  - [API网关终极实战：SpringCloud Gateway统一鉴权、动态路由、灰度发布、限流熔断、生产踩坑全记录](https://mp.weixin.qq.com/s/KVun8lWWu__cjFjbHzgK5w)
  - [Java开发：Spring Cloud Gateway 网关深度实战：路由、过滤器、限流、跨域全搞定](https://mp.weixin.qq.com/s/uYVsayxDdpoT9Lg7idresw)
-
