![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring cloud
文章平均质量分 56
ccnn_yanan
这个作者很懒,什么都没留下…
展开
-
Feign实现GZIP压缩 尤其时数据发过来之后的解压缩
https://blog.csdn.net/qq_43097257/article/details/105010340反正就是有个对gzip过滤器fegin默认的Client对响应流不支持对gzip后的字节流进行解析,所以在序列化成对象时会存在解析问题。会报这个错Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Illegal character (...转载 2021-03-01 17:04:00 · 1621 阅读 · 0 评论 -
zuul 和后面微服务的最大并发请求数
zuul 接受请求 转发请求 微服务接受请求其中接受请求 还是受到#默认10000#server.tomcat.max-connections=10000#默认200server.tomcat.max-threads=1000##默认100#server.tomcat.accept-count=2关键就是这个 转发请求 转发请求 受到三个参数的限制zuul.se...原创 2020-03-17 17:36:19 · 2190 阅读 · 0 评论 -
spring cloud
server.port=8081eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka/spring.application.name=client1#Eureka客户端向服务端发送心跳的时间间隔,单位为秒(客户端告诉服务端自己会按照该规则) 默认30秒eureka.instance.lease-renewal-...原创 2019-12-02 15:46:42 · 92 阅读 · 0 评论 -
spring cloud 问题总结
@EnableFeignClients必须加 掉接口的时候 不是引个包就行了@EnableDiscoveryClient 这个可以不加 只要引入相应的包 自动可注册@EnableHystrix这个也得加 默认false...原创 2019-11-27 15:55:06 · 438 阅读 · 0 评论 -
hystrix.command feign ribbon 超时问题
application.propertieshystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=93000hystrix.command.default.execution.timeout.enabled=true我的版本是springCloudFinchley.SR1 至于包有这个就够...原创 2019-10-10 11:25:34 · 402 阅读 · 0 评论