gateWay+nacos实现动态路由的配置

一、实现方式 1、首先加入spring-boot-starter-actuator的依赖,然后在配置文件中暴露gateway即可 management: endpoints: web: exposure: include: gateway  之后就可以监控gateway 的各个节点信息了,具体访问如下所示 ID HTTP Method Description
相关文章
相关标签/搜索