spring-cloud-gateway
spring-cloud-gateway copied to clipboard
An API Gateway built on Spring Framework and Spring Boot providing routing and more.
* As a spring cloud gateway user * in order to route traffic to websocket servers that perform authentication at the websocket handshake time (which is a valid behavior according...
**Describe the bug** `GRPCResponseHeadersFilter` has a ClassCastException when the gateway has ServerHttpResponseDecorator implementations in the application. The Implementation of the `GRPCResponseHeadersFilter` casts the response to `AbstractServerHttpResponse`. This cast causes a...
Hi, Sample Spring Cloud gateway app used for PST is available at - https://github.com/jacob2221/basic-gateway - PST was done using Apache Jmeter running on same machine as the spring cloud gateway...
In this [issue](https://github.com/spring-cloud/spring-cloud-gateway/issues/2454), I faced the same problem.RouteDefinitionLocator.getRouteDefinitions gets invoked every 30 seconds because nacos(a service discovery component) send HeartbeatEvent which causes RefreshRoutesEvent. Can we add a feature to determine...
public class GlobalRequestLogFilter implements GlobalFilter, Ordered { // private final WebEndpointProperties endpointProperties; @Override public Mono filter(ServerWebExchange exchange, GatewayFilterChain chain) { ServerHttpRequest request = exchange.getRequest(); // 打印请求路径 String path = request.getPath().pathWithinApplication().value();...
…t we can pass attribute to ReactiveLoadBalancer
**Is your feature request related to a problem? Please describe.** I am implementing a custom ReactiveLoadBalancer which depends on attributes from request. e.g. ``` public Mono choose(Request request) { Object...
I was stuck integrating the jwt authentication with spring cloud gateway in my current project can someone please suggest and help me on this. thanks in advance.
**Is your feature request related to a problem? Please describe.** This feature adds a Local Rate Limiter using the bucket4j library. Devs who do not want to use the Redis...
Please share if there an inbuilt way to run multiple versions of a custom filter allowing a gradual upgrade path. For Example: If a filter, say, CustomFilter is being used...