微服務學習20——feign中使用hystrix

在pom文件中查看依賴間關聯關係: 找到feign-core,可以看到,feign組件實際上包含了hystrix: 那麼該如何在feign中使用hystrix? 通過@FeignClient(name = "product", fallback = ProductClient.ProductClientFallback.class)這樣的註解指定服務不可用時使用的   @FeignClient(n
相關文章
相關標籤/搜索