Giter Site home page Giter Site logo

microsphere-spring-cloud's Introduction

microsphere-spring-cloud

Microsphere Projects for Spring Cloud

microsphere-spring-cloud's People

Contributors

kurok1 avatar liqi19950722 avatar mercyblitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

microsphere-spring-cloud's Issues

DefaultGatewayFilterChain导致Filter代码执行顺序异常

说明:

在Spring Cloud Gateway中,ReactiveLoadBalancerClientFilter负责负载均衡以及url重写,NettyRoutingFilter负责请求路由的转发.

其中NettyRoutingFilter需要依赖已经重写完成的url.

DefaultGatewayFilterChain的引入,导致NettyRoutingFilter先于url重写执行,从而导致无法正常转发请求.

正常流程

ReactiveLoadBalancerClientFilter->负载均衡->重写url->NettyRoutingFilter->转发

实际流程

ReactiveLoadBalancerClientFilter->负载均衡->NettyRoutingFilter->重写url->无法响应

最小化代码:

https://github.com/Kurok1/microsphere-spring-cloud-gateway-bug

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.