-
如何在Spring Cloud Gateway中添加特定于路由的自定义过滤器
因此,我是Spring Cloud Gateway的新手,并且刚刚开始使用它。我浏览了文档,偶然发现了如何创建自定义过 -
在Spring Cloud Gateway中使用FreeMarker进行请求响应转换
我正在使用Spring cloud网关Hoxton.M1版本来实现API网关。我有以下两个Spring Boot应用程序- 客户端<->路 -
使用Eureka的Spring Cloud Gateway自动路由
我与Spring一起创建微服务。我正在使用Eureka进行服务发现,并使用Spring云网关进行路由。我想根据我所 -
Spring Cloud Gateway-安全路由排除
我正在将Spring-cloud-gateway与OAuth2结合使用,想知道是否存在使用yaml文件从安全性中排除路由的明智方法 -
如何保存来电请求;完成重定向并完成原始请求
我想使用Spring-Cloud-Gateway来实现具有以下条件的服务: 1:如果特定的Cookie在原始请求上不可用,则保 -
Spring Cloud Gateway无法返回下游服务给出的正确响应代码(用于文件上传)
我有一个简单的下游上传文件服务。示例代码 <pre><code>@RestController @RequestMapping("/file") public clas -
零停机部署Spring Cloud Gateway
对于使用Kubernetes部署Spring Cloud Gateway(旧的Zuul)并实现零停机时间,我有一些疑问。我是Kubernetes的新手 -
如何使用服务发现来重写Spring Cloud Gateway的serviceId
我正在将zuul网关迁移到SCG。我的服务在kubernetes中运行并通过领事注册。 典型的服务名称是xxx-service。因 -
生成JWT令牌的Spring Gateway
我正在尝试使用spring-cloud构建网关。如果JWT存在,它应该做一些逻辑,而JWT不存在,它应该(从头开始 -
使用Spock进行单元测试Spring Cloud Gateway过滤器
我正在使用响应式全局过滤器在网关响应中添加cookie,例如: <pre><code>chain.filter(exchange).then(<a mono -
如何在Spring Cloud Gateway Path谓词配置中为所有路由定义通用前缀
我想为<code>spring.cloud.gateway.routes</code>配置属性中定义的所有路由指定一个公共前缀,而不是在其<code>Path -
将所有未解决的端点重定向到特定的注册服务
我正在尝试将所有端点(服务发现未解决)重定向到特定的url / lb。 我有一个配置为通过Eureka解析 -
Spring Cloud Gateway:流程澄清
我正在使用Spring Cloud Gateway Hoxton.M1版本来实现API网关。我可以看到以下格式的日志- <pre><code>[2019-11-13 -
如何编写自定义GlobalFilter以便在Spring Cloud Gateway中检查请求正文?
我想验证<code>GlobalFilter</code>中的正文。 我需要读取两个包含正文校验和的http标头,并将其与正 -
在Spring Cloud Gateway中使用Resilience4j为路由配置特定的断路器
我尝试在我的spring cloud网关中配置Resilience4j,但没有成功。 我发现的只是Hystrix或纯Java。 我已将 -
Spring Cloud Gateway-RateLimter无法正常工作
我正在尝试使用Spring Cloud Gateway Rate Limiter限制对REST端点的请求。 它只是行不通。这是我的实现 <pre>< -
如何使用Spring Cloud Gateway记录瞬态WebSocket消息
我正在处理Websocket连接的聊天服务前面运行云网关服务。 我们是否有一些简便的方法来记录套接字客户 -
Spring Webflux和Spring Cloud Gateway:如何在Mono中提取对象并添加到请求标头
我目前正在使用自定义JWT身份验证进行Spring Cloud Gateway。认证后,我想使用GlobalFilter将标头中的JWT令牌字 -
Spring Cloud Gateway负载平衡
我们正在使用Spring Cloud Gateway [JavaDsl]作为我们的API网关。对于代理,我们有多个[在不同的ip:port上运行] -
为什么转发不响应任何数据?
我有一个使用Spring Cloud Gateway的应用程序。我的yaml文件中有Hystrix的配置。 <pre><code>- id: method_route -
将Spring Cloud Gateway路由迁移到Kubernetes入口路由
我目前正在使用Spring Cloud Gateway来处理我的路由,并且正在努力寻找如何在Kubernetes Ingress中创建重写规则 -
Spring Cloud Gateway-使用GlobalFilter添加标题
例如 <pre><code>spring: cloud: gateway: routes: - id: hystrix_route uri: https://xxxxxxxxxxxx.a.run.app -
从Flux <DataBuffer>创建反应性Kafka SenderRecord
我正在做一个将Spring Cloud Gateway与Reactive Kafka集成的原型。我的目标是将帖子主体推向kafka。我可以访问<e -
路由到URL在配置
我试图熟悉spring-cloud-gateway,但在YAML中配置路由时遇到问题。我正在尝试基于httpbin.org的路径进行简单的 -
Spring Cloud Gateway默认路由不起作用
我想通过在eureka(应用程序名称)中注册的服务ID在我的Spring Cloud Gateway中启用默认路由(无zuul),但是 -
Spring Cloud Gateway:发布大型文件时,出现“在发送请求正文时,响应之前连接已关闭”错误
我在Spring Cloud Gateway后面运行了Spring Boot应用程序。 spring boot应用程序控制器: <pre><code>@PostMap -
您如何在Spring Cloud Gateway(Webflux)POST过滤器中读取响应正文
Spring Cloud Gateway记录了这样的后过滤阶段:<a href="https://cloud.spring.io/spring-cloud-static/Greenwich.RELEASE/single/sp -
Spring Cloud Gateway在使用forward://
我正在尝试将一些请求发送到本地控制器到Spring Cloud Gateway中,并对其进行处理。 我需要原始网址的路 -
自Hoxton.RELEASE起,org.springframework.cloud.gateway.support.DefaultServerRequest在哪里?
我们正尝试将<strong> spring-cloud-gateway </strong>迁移,但从<code>Greenwich</code>迁移到<code>Hoxton</code>似乎缺少这 -
对等方重置Spring Cloud Gateway OAuth2 UAA连接
使用application.yml中的OAuth2配置和GatewayApplication.java中的一个宁静的端点,将示例Spring Cloud Gateway简化为最