spring:
cloud:
gateway:
routes: #路由配置
uri: lb://provider #目标路径

 

你有想过为什么springcloud gate的spring.cloud.gateway.routes.uri为什么前面要加lb:吗?

 

 

看下图就一目了然了

 org.springframework.cloud.gateway.discovery.DiscoveryLocatorProperties

你有想过为什么springcloud gate的spring.cloud.gateway.routes.uri为什么前面要加lb:吗?

 

相关文章:

  • 2021-10-07
  • 2021-10-17
  • 2021-10-24
  • 2022-12-23
猜你喜欢
  • 2021-09-27
  • 2022-12-23
  • 2021-11-20
  • 2021-08-25
  • 2023-01-16
  • 2021-06-17
  • 2022-12-23
相关资源
相似解决方案