• 2023-06-15Hystrix
        SpringCloudHystrix是一款优秀的服务容错和保护组件,也是SpringCloud的重要组件之一。   @HystrixCommand(fallbackMethod="prop",commandProperties={@HystrixProperty(name="circuitBreaker.enabled",value="true"
  • 2022-12-21微服务-环形熔断器设计与gobreaker源码分析
    环形熔断器本文主要是阅读微软在早些年前发表的环形熔断器的设计的文章,CircuitBreakerPattern。该文比较详细的介绍了环形熔断器设计的背景,及解决的问题。环形熔断器设
  • 2022-10-20Resilience4J通过yml设置circuitBreaker
    介绍Resilience4j是一个轻量级、易于使用的容错库,其灵感来自NetflixHystrix,但专为Java8和函数式编程设计。springcloud2020升级以后Hystrix被官方移除,Resilience4目前
  • 2022-09-26openfeign3.1.3版本@FeignClient fallback属性不生效
    pom.xml引入依赖<dependency><groupId>org.springframework.cloud</groupId><artifactId>spring-cloud-starter-openfeign</artifactId></dependency><depe
  • 2022-09-25[hystrix] 常用的HystrixCommand配置
    @HystrixCommand(fallbackMethod="fallback",//降级方法commandProperties={@HystrixProperty(name="circuitBreaker.enabled