# spring-cloud **Repository Path**: dt_panda/spring-cloud ## Basic Information - **Project Name**: spring-cloud - **Description**: spring-cloud官方文档学习记录 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-12-27 - **Last Updated**: 2021-02-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-cloud ### 介绍 spring-cloud官方文档学习记录 [本地熟悉如何覆盖配置中心属性(Overriding the Values of Remote Properties)](https://cloud.spring.io/spring-cloud-static/spring-cloud-commons/2.0.2.RELEASE/single/spring-cloud-commons.html#_spring_cloud_context_application_context_services) ### spring-cloud-config > you can consume the same data as YAML or Java properties by adding a suffix (".yml", ".yaml" or ".properties") to the resource path. This can be useful for consumption by applications that do not care about the structure of the JSON endpoints or the extra metadata they provide (for example, an application that is not using Spring might benefit from the simplicity of this approach) 也就是通过`application-profile.[json|properties|yml]` 来访问会获取合并后的熟悉文件. 而不是像 `application/profile` 获取的那样,同时也没有其他额外的信息 #### Push Notifications and Spring Cloud Bus 通过git的webhook来执行某些动作 ### spring-cloud-config 客户端 #### Config Client Retry > f you expect that the config server may occasionally be unavailable when your application starts, you can make it keep trying after a failure. First, you need to set spring.cloud.config.fail-fast=true. Then you need to add spring-retry and spring-boot-starter-aop to your classpath. The default behavior is to retry six times with an initial backoff interval of 1000ms and an exponential multiplier of 1.1 for subsequent backoffs. You can configure these properties (and others) by setting the spring.cloud.config.retry.* configuration properties.