随笔分类 -  springcloud

摘要:http://localhost:9000/source/hello/dd 阅读全文
posted @ 2018-03-12 23:02 zfzf1 阅读(119) 评论(0) 推荐(0)
摘要:server: port: 8081 spring: application: name: spring-hy-sale feign: hystrix: enabled: true hystrix: command: HelloClient#toHello(): execution: isolation: t... 阅读全文
posted @ 2018-03-12 22:41 zfzf1 阅读(476) 评论(0) 推荐(0)
摘要:@Service public class CollService { @HystrixCollapser(batchMethod = "getMembers", collapserProperties = { //收集1秒内的请求 @HystrixProperty(name = "timerDelayInMilliseconds", value = "1000") }) p... 阅读全文
posted @ 2018-03-12 21:12 zfzf1 阅读(534) 评论(1) 推荐(0)
摘要:@Service public class CacheService { @Autowired private RestTemplate restTpl; @CacheResult @HystrixCommand public Member cacheMember(Integer id) { System.out.println("调用 cacheMember 方法"); /... 阅读全文
posted @ 2018-03-12 17:54 zfzf1 阅读(332) 评论(0) 推荐(0)
摘要:org.springframework.cloud spring-cloud-dependencies Dalston.SR3 pom import org.springframework.cloud spring-cloud-starter-config org.springfra... 阅读全文
posted @ 2018-03-12 17:32 zfzf1 阅读(167) 评论(0) 推荐(0)
摘要:restserver feign client interface feign client 阅读全文
posted @ 2018-03-11 09:52 zfzf1 阅读(144) 评论(0) 推荐(0)
摘要:io.github.openfeign feign-core 9.5.0 io.github.openfeign feign-gson 9.5.0 @R... 阅读全文
posted @ 2018-03-10 15:44 zfzf1 阅读(121) 评论(0) 推荐(0)
摘要:org.apache.cxf cxf-core 3.1.10 org.apache.cxf cxf-rt-rs-client 3.1.10 publ... 阅读全文
posted @ 2018-03-10 15:41 zfzf1 阅读(133) 评论(0) 推荐(0)
摘要:provider consumer 阅读全文
posted @ 2018-03-10 15:00 zfzf1 阅读(333) 评论(0) 推荐(0)
摘要:IRule 配置 阅读全文
posted @ 2018-03-10 14:50 zfzf1 阅读(1004) 评论(0) 推荐(0)
摘要:配置说明 注意-转驼峰 english http://cloud.spring.io/spring-cloud-static/Dalston.SR2/#spring-cloud-feign china https://springcloud.cc/spring-cloud-dalston.html 阅读全文
posted @ 2018-03-10 09:38 zfzf1 阅读(521) 评论(0) 推荐(0)