SpringCloudEureka属性配置中文说明文档

更新时间:2023-05-21 12:14:25 阅读: 评论:0

SpringCloudEureka属性配置中⽂说明⽂档
配置参数默认值说明
eureka.instance
eureka.instance.prefer-ip-address true
不使⽤主机名来定义注册中⼼的地址,⽽使⽤IP地址的形式,如果设置了
eureka.instance.ip-address 属性,则使⽤该属性配置的IP,否则⾃动获取除环路IP外的第⼀个IP地址
eureka.instance.ip-address IP地址
eureka.instance.hostname设置当前实例的主机名称
eureka.instance.appname服务名,默认取 spring.application.name 配置值,如果没有则为 unknown
eureka.instance.lea-renewal-
interval-in-conds
30定义服务续约任务(⼼跳)的调⽤间隔,单位:秒
eureka.instance.lea-
expiration-duration-in-conds
90定义服务失效的时间,单位:秒
eureka.instance.status-page-
url-path
/info状态页⾯的URL,相对路径,默认使⽤ HTTP 访问,如果需要使⽤ HTTPS则需要使⽤绝对路径配置eureka.instance.status-page-url状态页⾯的URL,绝对路径
eureka.instance.health-check-
url-path
/health健康检查页⾯的URL,相对路径,默认使⽤ HTTP 访问,如果需要使⽤ HTTPS则需要使⽤绝对路径配置
eureka.instance.health-check-元旦晚会小品
url
健康检查页⾯的URL,绝对路径
eureka.rver
able-lf-prervation true
是否开启⾃我保护,Eureka 会统计15分钟之内⼼跳失败的⽐例低于85%将会触发保护机制,不剔除服务提供者,如果关闭服务注册中⼼将不可⽤的实例正确剔除
eureka.rver.eviction-interval-
timer-in-ms
60rver清理⽆效节点的时间间隔abled true是否开启仪表盘
eureka.dashboard.path/仪表盘访问路径
eureka.client
abled true是否开启client
eureka.client.rvice-url 指定服务注册中⼼地址,类型为 HashMap,并设置有⼀组默认值,默认的Key为 defaultZone;默认的Value为 localhost:8761/eureka ,如果服务注册中⼼为⾼可⽤集群时,多个注册中⼼地址以逗号分隔。
如果服务注册中⼼加⼊了安全验证,这⾥配置的地址格式为: <urname>:
<password>@localhost:8761/eureka 其中 <urname> 为安全校验的⽤户名;<password> 为该⽤户的密码
eureka.client.fetch-registery true是否检索服务
istery-fetch-
interval-conds
30从Eureka服务器端获取注册信息的间隔时间,单位:秒
ister-with-eureka true启动服务注册
常⽤配置中⽂说明⽂档:
eureka.client.eureka-rver-
connect-timeout-conds
5连接 Eureka Server 的超时时间,单位:秒
eureka.client.eureka-rver-
read-timeout-conds
8读取 Eureka Server 信息的超时时间,单位:秒
eureka.client.filter-only-up-
instances
fabregastrue获取实例时是否过滤,只保留UP状态的实例
eureka.client.eureka-
connection-idle-timeout-
conds
考研英语在线学习30Eureka 服务端连接空闲关闭时间,单位:秒
eureka.client.eureka-rver-
total-connections
200从Eureka 客户端到所有Eureka服务端的连接总数
eureka.client.eureka-rver-total-connections-per-host 50从Eureka客户端到每个Eureka服务主机的连接总数
配置参数默认值说明
{
"groups": [
{
"name": "eureka.client",
宫东风下载专区
"type": "org.flix.eureka.EurekaClientConfigBean",
"sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "ansport",
"type": "flix.ansport.EurekaTransportConfig",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"sourceMethod": "getTransport()"
},
{
"name": "eureka.instance",
"type": "org.flix.eureka.EurekaInstanceConfigBean",
"sourceType": "org.flix.eureka.EurekaInstanceConfigBean"
}
],
"properties": [
{
"name": "eureka.client.allow-redirects",
"type": "java.lang.Boolean",
"description": "Indicates whether rver can redirect a client request to a backup rver\/cluster. If t to fal, the rver will handle the request directly, If t      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": fal
},
{
"name": "eureka.client.availability-zones",
"type": "java.util.Map<java.lang.String,java.lang.String>",
"description": "Gets the list of availability zones (ud in AWS data centers) for the region in which this instance resides. The changes are effective at runtime      "sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.backup-registry-impl",
"type": "java.lang.String",
"description": "Gets the name of the implementation which implements BackupRegistry to fetch the registry information as a fall back option for only the first tim      "sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.cache-refresh-executor-exponential-back-off-bound",
"type": "java.lang.Integer",
"description": "Cache refresh executor exponential back off related property. It is a maximum multiplier value for retry delay, in ca where a quence of time      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 10
},
{
"name": "eureka.client.cache-refresh-executor-thread-pool-size",
"type": "java.lang.Integer",
"description": "The thread pool size for the cacheRefreshExecutor to initiali with",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 2
},
赖氏经典语法{
"name": "eureka.client.client-data-accept",
"type": "java.lang.String",
"description": "EurekaAccept name for client data accept",
"sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.decoder-name",
"type": "java.lang.String",
"description": "This is a transient config and once the latest codecs are stable, can be removed (as there will only be one)",
"sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.disable-delta",
"type": "java.lang.Boolean",
"description": "Indicates whether the eureka client should disable fetching of delta and should rather resort to getting the full registry information. Note that the      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": fal
},
{
"name": "eureka.client.dollar-replacement",
"type": "java.lang.String",
"description": "Get a replacement string for Dollar sign <code>$<\/code> during rializing\/derializing information in eureka rver.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",世界末日 英语
"defaultValue": "_-"
},
{
"name": "abled",
"type": "java.lang.Boolean",
"description": "Flag to indicate that the Eureka client is enabled.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": true
},
{
"name": "der-name",
"type": "java.lang.String",
"description": "This is a transient config and once the latest codecs are stable, can be removed (as there will only be one)",
"sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.escape-char-replacement",
"type": "java.lang.String",
"description": "Get a replacement string for underscore sign <code>_<\/code> during rializing\/derializing information in eureka rver.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": "__"
},
{
"name": "eureka.client.eureka-connection-idle-timeout-conds",
"type": "java.lang.Integer",
"description": "Indicates how much time (in conds) that the HTTP connections to eureka rver can stay idle before it can be clod. In the AWS environme      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 30
米勒鲁豫有约},
{
"name": "eureka.client.eureka-rver-connect-timeout-conds",
"type": "java.lang.Integer",
"type": "java.lang.Integer",
"description": "Indicates how long to wait (in conds) before a connection to eureka rver needs to timeout. Note that the connections in the client are poole      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 5
},
{
"name": "eureka.client.eureka-rver-d-n-s-name",
"type": "java.lang.String",
"description": "Gets the DNS name to be queried to get the list of eureka rvers.This information is not required if the contract returns the rvice urls by imp      "sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.eureka-rver-port",
"type": "java.lang.String",
"description": "Gets the port to be ud to construct the rvice url to contact eureka rver when the list of eureka rvers come from the DNS.This informatio      "sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.eureka-rver-read-timeout-conds",
"type": "java.lang.Integer",
"description": "Indicates how long to wait (in conds) before a read from eureka rver needs to timeout.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 8
},
{
"name": "eureka.client.eureka-rver-total-connections",
"type": "java.lang.Integer",
"description": "Gets the total number of connections that is allowed from eureka client to all eureka rvers.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 200
},
{
"name": "eureka.client.eureka-rver-total-connections-per-host",
"type": "java.lang.Integer",
"description": "Gets the total number of connections that is allowed from eureka client to a eureka rver host.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 50
},
{
"name": "eureka.client.eureka-rver-u-r-l-context",
"type": "java.lang.String",
"description": "Gets the URL context to be ud to construct the rvice url to contact eureka rver when the list of eureka rvers come from the DNS. This      "sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.eureka-rvice-url-poll-interval-conds",
"type": "java.lang.Integer",
"description": "Indicates how often(in conds) to poll for changes to eureka rver information. Eureka rvers could be added or removed and this tting co      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 0boyhood
},
{
"name": "eureka.client.fetch-registry",
"type": "java.lang.Boolean",
"description": "Indicates whether this client should fetch eureka registry information from eureka rver.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": true
},
{
"name": "eureka.client.fetch-remote-regions-registry",
"type": "java.lang.String",
"description": "Comma parated list of regions for which the eureka registry information will be fetched. It is mandatory to define the availability zones for eac      "sourceType": "org.flix.eureka.EurekaClientConfigBean"
},
{
"name": "eureka.client.filter-only-up-instances",
"name": "eureka.client.filter-only-up-instances",
"type": "java.lang.Boolean",
"description": "Indicates whether to get the applications after filtering the applications for instances with only InstanceStatus UP states.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",interchange
"defaultValue": true
},
{
"name": "eureka.client.g-zip-content",
"type": "java.lang.Boolean",
"description": "Indicates whether the content fetched from eureka rver has to be compresd whenever it is supported by the rver. The registry informatio      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": true
},
{
"name": "eureka.abled",
"type": "java.lang.Boolean",
"description": "Enables the Eureka health check handler.",
"defaultValue": true
},
{
"name": "eureka.client.heartbeat-executor-exponential-back-off-bound",
"type": "java.lang.Integer",
"description": "Heartbeat executor exponential back off related property. It is a maximum multiplier value for retry delay, in ca where a quence of timeouts      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 10
},
{
"name": "eureka.client.heartbeat-executor-thread-pool-size",
"type": "java.lang.Integer",
"description": "The thread pool size for the heartbeatExecutor to initiali with",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 2
},
{
"name": "eureka.client.initial-instance-info-replication-interval-conds",
"type": "java.lang.Integer",
"description": "Indicates how long initially (in conds) to replicate instance info to the eureka rver",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 40
},
走吧走吧go
{
"name": "eureka.client.instance-info-replication-interval-conds",
"type": "java.lang.Integer",
"description": "Indicates how often(in conds) to replicate instance changes to be replicated to the eureka rver.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": 30
},
{
"name": "eureka.client.log-delta-diff",
"type": "java.lang.Boolean",
"description": "Indicates whether to log differences between the eureka rver and the eureka client in terms of registry information. Eureka client tries to retrie      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": fal
},
{
"name": "-demand-update-status-change",
"type": "java.lang.Boolean",
"description": "If t to true, local status updates via ApplicationInfoManager will trigger on-demand (but rate limited) register\/updates to remote eureka rve      "sourceType": "org.flix.eureka.EurekaClientConfigBean",
"defaultValue": true
},
{
"name": "der",
"type": "java.lang.Integer",
"description": "Order of the discovery client ud by `CompositeDiscoveryClient` for sorting available clients.",
"sourceType": "org.flix.eureka.EurekaClientConfigBean",

本文发布于:2023-05-21 12:14:25,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/117038.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:服务   注册   配置   是否   实例   时间   地址
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图