当前位置:网站首页>Microservice gateway

Microservice gateway

2022-06-12 09:15:00 Java supernatural Road

Proxy microservice requests through the gateway , The gateway is the only entrance for microservices to be exposed

  • springcloudGateway
  • zuul

You can control the flow , Request filtering to the gateway

springcloudGateway

Basic functions: routing and forwarding

 Insert picture description here

springcloudGateway Working model illustration and interpretation

 Insert picture description here

  • The request is sent to the gateway , The request is matched to the corresponding via the routing distributor HandlerMapping
  • There is a mapping between the request and the processor , Route to gateway handler , namely WebHandler
  • Execute specific request filters
  • Finally arrive at the agent's microservice
原网站

版权声明
本文为[Java supernatural Road]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203010531103378.html