你有想过为什么springcloud gate的spring.cloud.gateway.routes.uri为什么前面要加lb:吗?
时间:2020-10-09 00:34:29
收藏:0
阅读:670
spring:
cloud:
gateway:
routes: #路由配置
uri: lb://provider #目标路径
看下图就一目了然了
org.springframework.cloud.gateway.discovery.DiscoveryLocatorProperties
原文:https://www.cnblogs.com/mkl34367803/p/13783296.html
评论(0)