領先一步
VMware 提供訓練和認證,以加速您的進展。
瞭解更多我謹代表社群宣布,Spring Cloud Hoxton Release Train 的 Milestone 3 (M3) 今天正式發佈。此版本可在 Spring Milestone 儲存庫中找到。您可以查看 Hoxton 的發佈說明以取得更多資訊。
此里程碑版本與 Spring Boot 2.2.0.RC1 相容。
我們歡迎 Spring Cloud Circuit Breaker 作為 Spring Cloud release train 下的新專案。此專案提供抽象 API,可將斷路器新增至您的應用程式。在本部落格文章發佈時,有四個受支援的實作方式
請參閱公告部落格文章以取得更多資訊。
支援 AWS S3 的環境儲存庫。
為支援 Spring 的反應式堆疊進行了許多改進。建立了 ReactiveDiscoveryClient
。Spring Cloud Loadbalancer 也進行了更新,以使用這個新的 ReactiveDiscoveryClient
。新增了新的 spring-cloud-starter-loadbalancer
。
新增了對新的 ReactiveDiscoveryClient
的支援。
新增了對新的 ReactiveDiscoveryClient
的支援。
新增了對使用新的 ReactiveLoadBalancer
的支援。RSocket 支援已更新,以實作 RSocket Routing and Forwarding 規格擴充功能的特性。
在 Hoxton 發佈時,Spring Cloud Gateway 中的 RSocket 支援將會是技術預覽版,直到 RSocket Routing and Forwarding 規格擴充功能定案,且 RSocket Java 實作也據此更新為止。
新增了對新的 ReactiveDiscoveryClient
和新的 Spring Cloud Circuit Breaker API 實作以支援 Hystrix 的功能。
新增了對新的 ReactiveDiscoveryClient
的支援。
新增了對 Spring Kafka 的支援。
OpenFeign 已更新至 10.4.0。
新增了對 AWS SQS、Spring Kafka 和 Quartz 的支援。
新增了對新的 ReactiveDiscoveryClient
和 Consul 的一致性模式的支援。
新增了對 PCF 驗證和 X-Vault-Namespace
的支援。
以下模組已更新為 Hoxton.M3 的一部分
| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Config | 2.2.0.M3 | (問題) | Spring Cloud Cloudfoundry | 2.2.0.M3 | (問題) | Spring Cloud Cli | 2.2.0.M2 |
| Spring Cloud Zookeeper | 2.2.0.M3 |
| Spring Cloud Aws | 2.2.0.M3 | (問題) | Spring Cloud Gateway | 2.2.0.M3 | (問題) | Spring Cloud Netflix | 2.2.0.M3 | (問題) | Spring Cloud Kubernetes | 1.1.0.M3 | (問題) | Spring Cloud Task | 2.2.0.M2 | (問題) | Spring Cloud Commons | 2.2.0.M3 | (問題) | Spring Cloud Contract | 2.2.0.M3 | (問題) | Spring Cloud Openfeign | 2.2.0.M3 | (問題) | Spring Cloud Security | 2.2.0.M3 | (問題) | Spring Cloud Bus | 2.2.0.M3 | (問題) | Spring Cloud Stream | Horsham.M4 | (問題) | Spring Cloud Sleuth | 2.2.0.M3 | (問題) | Spring Cloud Circuitbreaker | 1.0.0.M1 |
| Spring Cloud Consul | 2.2.0.M3 | (問題) | Spring Cloud Vault | 2.2.0.M3 |
| Spring Cloud Gcp | 1.2.0.M3 |
| Spring Cloud Function | 3.0.0.M3 | (問題)
一如既往,我們歡迎您在 GitHub、Gitter、Stack Overflow 和 Twitter 上提供意見反應。
以下清單顯示如何開始使用 Maven 和 BOM (僅限相依性管理)
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.M3</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.8.RELEASE"
}
}
repositories {
maven {
url 'https://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.M3'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}