1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #端口号
- application:
- name: maxkey-gateway-server
- formatted-version: v3.5.14 GA
- server:
- port: 9000
- spring:
- application:
- name: maxkey-gateway
- cloud:
- gateway:
- routes:
- #nacos健康检查端口8080
- - id: maxkeys_route
- uri: lb://maxkey
- filters:
- - PrefixPath=/
- predicates:
- - Path=/sign/**
- - id: maxkey_mgts_route
- uri: lb://maxkey-mgt
- filters:
- - PrefixPath=/
- predicates:
- - Path=/maxkey-mgt-api/**
- # default-filters:
- # - name: Hystrix
- # args:
- # name: default
- # fallbackUri: 'forward:/defaultFallback'
-
- main:
- web-application-type: reactive
- #spring.main.web-application-type=reactive
- hystrix:
- command:
- default:
- execution:
- isolation:
- strategy: SEMAPHORE
- thread:
- #1分钟服务无响应则直接熔断
- timeoutInMilliseconds: 60000
-
|