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 ...
随机推荐
- quartz做集群配置较短的时间间隔会重复执行任务的问题
quartz.properties org.quartz.jobStore.misfireThreshold = 60000 这个参数(单位为毫秒)设置了以后就是超时1min的就不执行,小于1min会 ...
- String.format("%0"+length+"d", arr)中的%0和"d"分别代表什么
public static void main(String[] args) { int a = 8; String s = String.format("%04d", a); S ...
- 【JSP EL】使用EL表达式比较 动态选中 select中的option
<option value="${k.key }" ${KPIThis.parent.parent.thisId == k.key ? "selected" ...
- nano命令,vi ed pico sed joe emacs jed ex
nano命令 nano是一个字符终端的文本编辑器,有点像DOS下的editor程序.它比vi/vim要简单得多,比较适合Linux初学者使用.某些Linux发行版的默认编辑器就是nano. nan ...
- JS,jquery动态向已经存在的css文件中添加class样式
$("h1,h2,p").addClass("blue") $(".class")addClass("class_name&quo ...
- iOS: 在Xcode7系列中给类名自动添加前缀
添加前缀原因: 我个人还是很喜欢 Class Prefix 的,因为: 1. 使用它几乎不增加什么成本, 2. 不使用它可能会造成安全隐患, 3. 它能够以直接的方式编码一些信息以供未来的回溯, 4. ...
- SQL Server CPU时间和占用时间及优化
如何测试sql语句执行时间 在MSSQL Server中通过查看SQL语句执行所用的时间,来衡量SQL语句的性能. set statistics profile on set statistics i ...
- 解决SSH窗口关闭,linux上的应用也关闭
最近在应用linux上的服务的时候发现一个问题 使用SSH远程连接启动的应用在SSH关闭的时候也死掉了,网上查了一下原因 大致是说SSH在关闭的时候会发送一个终止的指令给应用,然后就停了 简要的解决办 ...
- Content Provider
Content Provider:提供了数据的接口,可以共享数据 基本概念:1:为存储和获取数据提供了同一的接口2:可以在不同的应用程序之间共享数据3:Android为常见的一些数据提供了Conten ...
- activemq5.14.5单节点安装Demo
什么情况下使用ActiveMQ? 1 多个项目之间集成 (1) 跨平台 (2) 多语言 (3) 多项目 2 降低系统间模块的耦合度,解耦 软件扩展性 3 系统前后端隔离 前后端 ...