gateway动态路由
时间: 2023-10-08 07:13:34 浏览: 79
Gateway动态路由是指通过实现动态路由功能,可以使路由不依赖于具体的IP和端口,从而实现灵活的路由配置。一种动态路由的配置方式是使用服务名称转发。这种方式将Eureka注册中心中的微服务名称作为请求URI的前缀,在客户端访问时,需要在请求接口地址中带上微服务名称。这样,Gateway就可以通过微服务名称来实现服务的转发功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【微服务笔记17】微服务组件之Gateway实现动态路由、配置路由规则、路由过滤器](https://blog.csdn.net/qq_39826207/article/details/130250167)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [springgateway动态路由的四类实现方式](https://blog.csdn.net/huangjinjin520/article/details/124976940)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文