202110-29 spring cloud gateway集成hystrix全局断路器操作 gateway集成hystrix全局断路器pom.xml添加依赖<dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-netflix-hystrix</artifactId></dependency>在配置文件中,增加spring.cloud.gateway.default-filters:default-filters:-name:Hystrixargs:name:fallbackcmdfallbackUri:forward:/fallbackcontroller一定要注意是spring.cloud.gateway.default-filters这个配置节。如上的配... 继续阅读 >