超越他人
VMware 提供培训和认证,助您加速进步。
了解更多我很高兴代表社区宣布,Spring Cloud Finchley Release Train 的 Service Release 3 (SR3) 今天发布了。您可以在 Maven Central 中找到该版本。您还可以查看 Finchley 的版本说明以获取更多信息。
if-modified-since
标头检索数据并在响应中返回 last-modified
标头
spring.cloud.discovery.enabled=false
现在与 spring.cloud.consul.discovery.enabled=false
的行为相同HystrixConcurrencyStrategy
现在可以使用 HystrixPlugins#getConcurrencyStrategy
设置spring.cloud.discovery.enabled=false
现在与 eureka.client.enabled=false
的行为相同以下模块已作为 Finchley.SR3 的一部分进行更新
| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Config | 2.0.3.RELEASE | (问题) | Spring Cloud Function | 1.0.0.RELEASE | (问题) | Spring Cloud Stream | Elmhurst.SR2 | | Spring Cloud Sleuth | 2.0.3.RELEASE | (问题) | Spring Cloud Cloudfoundry | 2.0.1.RELEASE | (问题) | Spring Cloud Zookeeper | 2.0.1.RELEASE | (问题) | Spring Cloud Aws | 2.0.2.RELEASE | (问题) | Spring Cloud Task | 2.0.1.RELEASE | | Spring Cloud Commons | 2.0.3.RELEASE | (问题) | Spring Cloud Openfeign | 2.0.3.RELEASE | (问题) | Spring Cloud Vault | 2.0.3.RELEASE | (问题) | Spring Cloud Security | 2.0.1.RELEASE | | Spring Cloud Bus | 2.0.1.RELEASE | (问题) | Spring Cloud Contract | 2.0.3.RELEASE | (问题) | Spring Cloud Consul | 2.0.2.RELEASE | (问题) | Spring Cloud Gateway | 2.0.3.RELEASE | (问题) | Spring Cloud Dependencies | Finchley.SR3 | | Spring Cloud Netflix | 2.0.3.RELEASE | (问题)
一如既往,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
使用 BOM (仅依赖管理) 通过 Maven 入门
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
...
</dependencies>
或使用 Gradle
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Finchley.SR3'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}