Spring Cloud OpenFeign application 配置说明 Spring Cloud OpenFeign application 配置说明 2022-07-20 284 Name Default Description feign.autoconfiguration.jackson.enabled false 如果为true,则将提供PageJacksonModule和SortJacksonModule bean用于Jackson页面解码. feign.circuitbreaker.enabled false 如果为true,则将使用Spring Cloud CircuitBreaker断路器包装OpenFeign客户端. feign.client.config feign.client.decode-slash true 伪客户端默认情况下不对斜杠“ /”字符进行编码。 要更改此行为,请将“ decodeSlash”设置为“ false”. feign.client.default-config default feign.client.default-to-properties true feign.compression.request.enabled false 允许压缩Feign发送的请求. feign.compression.request.mime-types [text/xml, application/xml, application/json] 支持的mime类型列表. feign.compression.request.min-request-size 2048 最小阈值内容大小. feign.compression.response.enabled false 可以压缩来自Feign的响应. feign.compression.response.useGzipDecoder false 启用要使用的默认gzip解码器. feign.encoder.charset-from-content-type false 指示字符集是否应从{@code Content-Type}标头派生. feign.httpclient.connection-timeout 2000 feign.httpclient.connection-timer-repeat 3000 feign.httpclient.disable-ssl-validation false feign.httpclient.enabled true 允许通过Feign使用Apache HTTP客户端. feign.httpclient.follow-redirects true feign.httpclient.hc5.enabled false 允许通过Feign使用Apache HTTP Client 5. feign.httpclient.hc5.pool-concurrency-policy 池并发策略. feign.httpclient.hc5.pool-reuse-policy 池连接重用策略. feign.httpclient.hc5.socket-timeout 5 套接字超时的默认值. feign.httpclient.hc5.socket-timeout-unit 套接字超时单位的默认值. feign.httpclient.max-connections 200 feign.httpclient.max-connections-per-route 50 feign.httpclient.time-to-live 900 feign.httpclient.time-to-live-unit feign.metrics.enabled true 启用伪装的指标功能. feign.okhttp.enabled false 允许通过Feign使用OK HTTP客户端. 免费搭建微信查券返利机器人来轻松赚佣金 文章来自:IT技术分享网 分享地址:http://www.5ityx.cn/cate111/71601.html 上一篇: 记录一次有关redis缓存服务器挂掉的生产故障 下一篇: 使用LoadBalancer替换Ribbon负载均衡器 Spring Cloud OpenFeign application 配置说明 相关内容 整合SSM时遇到的各种问题 企业电子招投标采购系统源码之功能模块&功能描述 整理web前端架构师应会必会的技术栈 年薪170W阿里P8相亲要求女方月薪1万,网友:有点高 微服务链路跟踪之SkyWalking实战小结 【Java进阶营】微服务架构之「 API网关 」 Spring boot 版本升级问题汇总总结 基于Springcloud搭建电商平台实现高性能高并发微服务 微服务远程调用使用Feign组件 集群中 启动rabbitmq 节点 报错 微服务分布式架构的CAP原则 redis学习-30- Redis分布式锁应用实现 分布式,微服务,集群的区别 SpringCloud(一):Eureka服务注册与发现 Spring Cloud从入门到放弃(四):Eureka的常用配置 uni-app使用阿里矢量图库导入 icon 彩色和黑白色