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 ...
随机推荐
- Cisco路由技术基础知识详解
第一部分 请写出568A的线序(接触网络第一天就应该会的,只要你掐过,想都能想出来) .网卡MAC地址长度是( )个二进制位(16进制与2进制的换算关系,只是换种方式问,不用你拿笔去算) A.12 ...
- 游戏用户接口设计的一些小原则(摘自 game coding complete)
1.没有坏之前不要修理 2.简单的操作却有非常复杂的结果时,要小心设计. 3.记得给玩家反馈. 4.玩家不知道该功能,可能就根本不会用这个功能. 5.观察并持续改进.(给不熟悉该设计的人玩,站在他们后 ...
- 【好】strong-password-checker,我自己做出来的:)
我自己做出来的,分了几种情况来考虑.(再后面有加了注释的版本) https://leetcode.com/problems/strong-password-checker/ // 加油! public ...
- 多站点IIS用户安全权限设置
如果我们为每个站点都建立一个用户,并设置该用户只有访问本站点的权限,那么就能将访问权限控制在每个站点文件夹内,旁注问题也就解决了 一.这样配置的好处? 不知大家有没有听过旁注?我简单的解释一下吧:有个 ...
- Dx12 occlusion query
https://github.com/Microsoft/DirectX-Graphics-Samples/blob/master/Samples/Desktop/D3D12PredicationQu ...
- jquery 获取父窗口的元素、父窗口、子窗口
一.获取父窗口元素: $("#父窗口元素ID",window.parent.document):对应javascript版本为window.parent.document.getE ...
- bottle+cherrypy快速开发web服务
我目前用得最顺手的python web框架是bottle,简单方便. bottle有一个开发用的http服务器,效率不高,单线程,阻塞. 所以,得找个别的服务器来部署. 根据bottle官方的文档,发 ...
- minic 词法单元建立
#include <stdio.h> #include "symbol_table_def.h" //前面的那个词法和文法说明只是大概的说明,现在又有了改动,把指针运算 ...
- 在笛卡尔坐标系上描绘函数(x*x+1)/(x*x-1)曲线
代码: <!DOCTYPE html> <html lang="utf-8"> <meta http-equiv="Content-Type ...
- LeetCode Add Binary |My Solution
Given two binary strings, return their sum (also a binary string). For example, a = "11" b ...