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 ...
随机推荐
- ASP.NET Core管道深度剖析
ASP.NET管道 以IIS 6.0为例,在工作进程w3wp.exe中,利用Aspnet_ispai.dll加载.NET运行时(如果.NET运行时尚未加载).IIS 6引入了应用程序池的概念,一个工作 ...
- 剖析ASP.NET Core(Part 2)- AddMvc(译)
原文:https://www.stevejgordon.co.uk/asp-net-core-mvc-anatomy-addmvccore发布于:2017年3月环境:ASP.NET Core 1.1 ...
- 客户端的javascript改变了asp.net webform页面控件的值,后台代码中如何获取修改后的值。
客户端的javascript改变了asp.net webform页面控件的值,后台代码中如何获取修改后的值. 无论是什么的html控件,只要加上了runat="server" ...
- 二十四种设计模式:访问者模式(Visitor Pattern)
访问者模式(Visitor Pattern) 介绍表示一个作用于某对象结构中的各元素的操作.它使你可以在不改变各元素的类的前提下定义作用于这些元素的新操作. 示例有一个Message实体类,某些对象对 ...
- Git系列一之安装管理
1.Git安装部署 Git是分布式的版本控制系统,我们只要有了一个原始Git版本仓库,就可以让其他主机克隆走这个原始版本仓库,从而使得一个Git版本仓库可以被同时分布到不同的主机之上,并且每台主机的版 ...
- 流畅的python第九章符合Python风格的对象学习记录
对象表示形式 每门面向对象的语言至少都有一种获取对象的字符串表示形式的标准方式.Python提供了两种方式 repr()便于开发者理解的方式返回对象的字符串表示形式 str()便于用户理解的方式返回对 ...
- C#.net开发 List与DataTable相互转换 【转】
http://blog.csdn.net/shuizhaoshui/article/details/51425527 在.NET开发中,操作关系型数据库提取数据经常用到DataTable.ASP.NE ...
- 页面优化——js异步载入
同步载入 在介绍js异步载入之前.我们先来看看什么是js同步载入.我们平时最常使用的就是这样的同步载入形式: <script src="http://XXX.com/script.js ...
- 【云计算】OpenStack项目全面介绍
关于OpenStack孵化项目trove(DBaaS)之我见:http://blog.csdn.net/ddl007/article/details/17253751 OpenStack Trove将 ...
- (转)Scala中协变(+)、逆变(-)、上界(<:)、下界(>:)简单介绍
看源码的时候看到: trait ExtensionId[T <: Extension] { 没见过这个符号啊<: Scala上界(<:)和下界(>:) 1) U >: T ...