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

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