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 ...
随机推荐
- 学会MySQL索引
原文:https://mp.weixin.qq.com/s/UzWxJ_pVPjU5ip0Z-Y9TdA 什么是索引? 百度百科是这样描述的: 索引是为来加速对表中数据行中的检索而创建的一种分散的数据 ...
- linux下activityMQ安装
>下载 到ActiveMQ官网,找到下载点. 目前, 官网为http://activemq.apache.org/ >启动 下载到本机,并解压 wget http://apache.f ...
- Android内存优化11 内存泄漏常见情况2 内部类泄漏
线程持久化 Java中的Thread有一个特点就是她们都是直接被GC Root所引用,也就是说Dalvik虚拟机对所有被激活状态的线程都是持有强引用,导致GC永远都无法回收掉这些线程对象,除非线程被手 ...
- Controller和RestController的区别
1. Controller, RestController的共同点 都是用来表示Spring某个类的是否可以接收HTTP请求 2. Controller, RestController的不同点 @C ...
- JS 的一些基础算法题
1.翻转字符串 例子(要求:先把字符串转化成数组,再借助数组的reverse方法翻转数组顺序,最后把数组转化成字符串) function reverseString(str) { str=str. ...
- 逻辑回归Logistic Regression 之基础知识准备
0. 前言 这学期 Pattern Recognition 课程的 project 之一是手写数字识别,之二是做一个网站验证码的识别(鸭梨不小哇).面包要一口一口吃,先尝试把模式识别的经典问题—— ...
- vim配置python开发环境(转)
安装 因为许多Unix衍生系统已经预装了Vim,我们首先要确认编辑器是否成功安装: vim --version 如果已经安装了,你应该看到类似下面的文字: VIM - Vi IMproved 7.3 ...
- 深度增强学习--DPPO
PPO DPPO介绍 PPO实现 代码DPPO
- es安装脚本
#!/bin/bash file_name="/sdzw/es5/conf/es.config" #安装目录 install_dir="/es5/esinstall&qu ...
- hadoop运行报错Wrong FS: hdfs:/, expected: file:///
内容源自:https://blog.csdn.net/u014470581/article/details/51480600 报错信息: Exception in thread "main& ...