Springboot client 常用配置详解
Property name
|
Description
|
Default value
|
spring.boot.admin.client.enabled
|
Enables the Spring Boot Admin Client.
|
true
|
spring.boot.admin.client.url
|
Comma separated ordered list of URLs of the Spring Boot Admin server to register at. This triggers the AutoConfiguration. Mandatory.
|
|
spring.boot.admin.client.api-path
|
Http-path of registration endpoint at your admin server.
|
"instances"
|
spring.boot.admin.client.username spring.boot.admin.client.password
|
Username and password in case the SBA Server api is protected with HTTP Basic authentication.
|
|
spring.boot.admin.client.period
|
Interval for repeating the registration (in ms).
|
10,000
|
spring.boot.admin.client.connect-timeout
|
Connect timeout for the registration (in ms).
|
5,000
|
spring.boot.admin.client.read-timeout
|
Read timeout for the registration (in ms).
|
5,000
|
spring.boot.admin.client.auto-registration
|
If set to true the periodic task to register the application is automatically scheduled after the application is ready.
|
true
|
spring.boot.admin.client.auto-deregistration
|
Switch to enable auto-deregistration at Spring Boot Admin server when context is closed. If the value is unset the feature is active if a running CloudPlatform was detected.
|
null
|
spring.boot.admin.client.register-once
|
If set to true the client will only register against one admin server (in order defined by spring.boot.admin.instance.url); if that admin server goes down, will automatically register against the next admin server. If false, will register against all admin servers.
|
true
|
spring.boot.admin.client.instance.health-url
|
Health-url to register with. Can be overridden in case the reachable URL is different (e.g. Docker). Must be unique in registry.
|
Guessed based on management-url and endpoints.health.id.
|
spring.boot.admin.client.instance.management-base-url
|
Base url for computing the management-url to register with. The path is inferred at runtime, and appended to the base url.
|
Guessed based on management.port, service-url and server.servlet-path.
|
spring.boot.admin.client.instance.management-url
|
Management-url to register with. Can be overridden in case the reachable url is different (e.g. Docker).
|
Guessed based on management-base-url and management.context-path.
|
spring.boot.admin.client.instance.service-base-url
|
Base url for computing the service-url to register with. The path is inferred at runtime, and appended to the base url.
|
Guessed based on hostname, server.port.
|
spring.boot.admin.client.instance.service-url
|
Service-url to register with. Can be overridden in case the reachable url is different (e.g. Docker).
|
Guessed based on service-base-url and server.context-path.
|
spring.boot.admin.client.instance.name
|
Name to register with.
|
${spring.application.name}if set, "spring-boot-application" otherwise.
|
spring.boot.admin.client.instance.prefer-ip
|
Use the ip-address rather then the hostname in the guessed urls. If server.address / management.address is set, it get used. Otherwise the IP address returned from InetAddress.getLocalHost() gets used.
|
false
|
spring.boot.admin.client.instance.metadata.*
|
Metadata key-value-pairs to be associated with this instance.
|
|
spring.boot.admin.client.instance.metadata.tags.*
|
Tags as key-value-pairs to be associated with this instance.
|
Springboot client 常用配置详解的更多相关文章
- logback 常用配置详解<appender>
logback 常用配置详解 <appender> <appender>: <appender>是<configuration>的子节点,是负责写日志的 ...
- 【转】logback logback.xml常用配置详解(三) <filter>
原创文章,转载请指明出处:http://aub.iteye.com/blog/1110008, 尊重他人即尊重自己 详细整理了logback常用配置, 不是官网手册的翻译版,而是使用总结,旨在更快更透 ...
- 【转】logback logback.xml常用配置详解(二)<appender>
原创文章,转载请指明出处:http://aub.iteye.com/blog/1101260, 尊重他人即尊重自己 详细整理了logback常用配置, 不是官网手册的翻译版,而是使用总结,旨在更快更透 ...
- 【转】logback logback.xml常用配置详解(一)<configuration> and <logger>
原创文章,转载请指明出处:http://aub.iteye.com/blog/1101260, 尊重他人即尊重自己 详细整理了logback常用配置, 不是官网手册的翻译版,而是使用总结,旨在更快更透 ...
- 【转】logback 常用配置详解(序)logback 简介
原创文章,转载请指明出处:http://aub.iteye.com/blog/1101222, 尊重他人即尊重自己 详细整理了logback常用配置, 不是官网手册的翻译版,而是使用总结,旨在更快更透 ...
- logback 常用配置详解(二) <appender>
logback 常用配置详解(二) <appender> <appender>: <appender>是<configuration>的子节点,是负责写 ...
- logback logback.xml常用配置详解(三)
logback logback.xml常用配置详解 <filter> <filter>: 过滤器,执行一个过滤器会有返回个枚举值,即DENY,NEUTRAL,ACCEPT其中之 ...
- logback常用配置详解及logback简介
logback 简介(一) Ceki Gülcü在Java日志领域世界知名.他创造了Log4J ,这个最早的Java日志框架即便在JRE内置日志功能的竞争下仍然非常流行.随后他又着手实现SLF4J 这 ...
- Tomcat记录-tomcat常用配置详解和优化方法(转载)
常用配置详解 1 目录结构 /bin:脚本文件目录. /common/lib:存放所有web项目都可以访问的公共jar包(使用Common类加载器加载). /conf:存放配置文件,最重要的是serv ...
随机推荐
- JavaScript -- 清除缓存
在客户端有一个HTML文件,用来提交输入信息,问题在于:每次按刷新时,发觉并不是整个页面重新被装载,好似是缓存中. 因为文本框中仍出现上次输入的值,只有在地址栏中按回车整个页面才重新装载,应当怎样避免 ...
- 一步一步学RenderMonkey(4)--点光源光照模型 【转】
转载请注明出处:http://blog.csdn.net/tianhai110 点光源光照模型: 公式: I = Icolor*attenuation; ...
- material.setTexture("sampler",tex) assetbundle 下失效
做镜面反射本来写很顺 在手机上测的时候 发现settexture这里绑不上 查好久 是assetbundle的缘故 因为动态加载的 obj用了mat01 我在反射脚本里动态修改mat01而不是拿 re ...
- jQuery.toggleClass() 和detach()方法详解
一.toggleClass()函数: toggleClass()函数用于切换当前jQuery对象所匹配的每一个元素上指定的css类名.所谓"切换",就是如果该元素上已存在指定的类名 ...
- jQuery最佳实践:如何用好jQuery
一.用对选择器 在jQuery中,你可以用多种选择器,选择同一个网页元素.每种选择器的性能是不一样的,你应该了解它们的性能差异. (1)最快的选择器:id选择器和元素标签选择器 举例来说,下面的语句性 ...
- Linux115条常用命令
1,echo “aa” > test.txt 和 echo “bb” >> test.txt //>将原文件清空,并且内容写入到文件中,>>将内容放到文件的尾部2, ...
- 如何在 MyEclipse 下用 Gradle 构建 Web Application
一.安装 Gradle 插件,参考我的另一篇文章:MyEclipse 集成 Gradle开发环境 二.新建一个 Web Project, 在项目根目录下新建 build.gradle 文件, 并向其中 ...
- 4CIF是什么意思
QCIF:176X144 CIF:352X288 2CIF:704X288 DCIF:584X384 4CIF:704X576 CIF是常用的标准化图像格式(Common Intermediate F ...
- 解复用-mpeg2
http://blog.csdn.net/yipie/article/details/7612226 数字高清晰度电视(High Definition Television)简称HDTV,是继黑白电视 ...
- Ubuntu安装Mac皮肤
如果是ubuntu的PC版,在稳定性方面的要求不是非常高,而又想换换界面养养眼,像我一般只用我的Ubuntu12.04来写写代码,娱乐娱乐的,可以试试Ubuntu的Mac皮肤. 好了,废话不多说,上图 ...