spring cloud
文章平均质量分 56
ccnn_yanan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Feign实现GZIP压缩 尤其时数据发过来之后的解压缩
https://blog.youkuaiyun.com/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 · 1811 阅读 · 0 评论 -
zuul 和后面微服务的最大并发请求数
zuul 接受请求 转发请求 微服务接受请求 其中接受请求 还是受到 #默认10000 #server.tomcat.max-connections=10000 #默认200 server.tomcat.max-threads=1000 ##默认100 #server.tomcat.accept-count=2 关键就是这个 转发请求 转发请求 受到三个参数的限制 zuul.se...原创 2020-03-17 17:36:19 · 2420 阅读 · 0 评论 -
spring cloud
server.port=8081 eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka/ spring.application.name=client1 #Eureka客户端向服务端发送心跳的时间间隔,单位为秒(客户端告诉服务端自己会按照该规则) 默认30秒 eureka.instance.lease-renewal-...原创 2019-12-02 15:46:42 · 147 阅读 · 0 评论 -
spring cloud 问题总结
@EnableFeignClients必须加 掉接口的时候 不是引个包就行了 @EnableDiscoveryClient 这个可以不加 只要引入相应的包 自动可注册 @EnableHystrix这个也得加 默认false ...原创 2019-11-27 15:55:06 · 686 阅读 · 0 评论 -
hystrix.command feign ribbon 超时问题
application.properties hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=93000 hystrix.command.default.execution.timeout.enabled=true 我的版本是springCloud Finchley.SR1 至于包有这个就够...原创 2019-10-10 11:25:34 · 478 阅读 · 0 评论
分享