Feign默认的使用jackson解析,所以时间传值时会报错,时间格式错误 解决办法: 修改feign解析方式为fastjson方式: @Configuration public class CxfConfig{ @Bean public Encoder feignEncoder(){ return new SpringEncoder(feignHttpMessageConverter()); } @Bean public Decoder feignDecoder(){ return new S…
直接从Sentinel 源码demo ExceptionRatioCircuitBreakerDemo看起 直接看他的main函数 public static void main(String[] args) throws Exception { initDegradeRule(); ...... final int concurrency = 8; for (int i = 0; i < concurrency; i++) { Thread entryThread = new Thread((…