Spring Cloud Hoxton.RC2 发布

版本发布 | Ryan Baxter | 2019年11月12日 | ...

我谨代表社区,很高兴地宣布 Spring Cloud Hoxton Release Train 的 Release Candidate 2 (RC2) 已于今日发布。您可以在 Spring Milestone 仓库中找到该版本。请参阅 Hoxton 发布说明以获取更多信息

Hoxton 发行版列车中的显著更改

Spring Cloud Hoxton.RC2 基于 Spring Boot 2.2.1.RELEASE 构建。

Spring Cloud Vault

Spring Cloud Circuitbreaker

Spring Cloud Gateway

  • 添加了一个 过滤器,该过滤器使用新的 Spring Cloud CircuitBreaker 库为路由提供断路器功能

Spring Cloud Config

Spring Cloud Sleuth

Spring Cloud Contract

Spring Cloud Stream

  • 增加了支持允许单个实例从多个分区进行消费,其中非原生分区(例如 RabbitMQ)需要每个分区一个实例
  • 响应式消费者中的反压支持。更改了 channel-to-publisher 适配器逻辑,使用 EmitterProcessor,从而有效地将 Publisher 转换为遵守反压的发布者
  • Kafka binder - 提供一个自定义头映射器,该映射器与 Spring Kafka 中的 DefaultKafkaHeaderMapper 相同。这是为了解决 Spring Cloud Stream 3.0.x 和 2.x 应用程序之间的一些互操作性问题
  • Kafka Streams binder - 健康指示器和指标的改进
  • Rabbit binder - 支持 Quorum 队列的配置 - 添加队列参数以支持配置 quorum 队列
  • Rabbit binder - 多分区支持。增加了对分区多路复用的支持
  • 文档中的增强

Spring Cloud Openfeign

Spring Cloud Netflix

  • 添加了用于禁用 Spring Cloud CircuitBreaker Hystrix 自动配置的 属性

作为 Hoxton.RC2 的一部分,以下模块已更新

| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Aws | 2.2.0.RC2 |
| Spring Cloud Vault | 2.2.0.RC2 |
| Spring Cloud Circuitbreaker | 1.0.0.RC2 |
| Spring Cloud Cli | 2.2.0.RC2 |
| Spring Cloud Gateway | 2.2.0.RC2 | (问题) | Spring Cloud Zookeeper | 2.2.0.RC2 |
| Spring Cloud Starter | Hoxton.RC2 |
| Spring Cloud Build | 2.2.0.RC2 | (问题) | Spring Cloud Config | 2.2.0.RC2 | (问题) | Spring Cloud Dependencies Parent | 2.2.0.RC2 |
| Spring Cloud Starter Parent | Hoxton.RC2 |
| Spring Cloud Sleuth | 2.2.0.RC2 | (问题) | Spring Cloud Contract | 2.2.0.RC2 | (问题) | Spring Cloud Gcp | 1.2.0.RC2 |
| Spring Cloud Bus | 2.2.0.RC2 |
| Spring Cloud Consul | 2.2.0.RC2 |
| Spring Cloud Stream | Horsham.RC2 |
| Spring Cloud Kubernetes | 1.1.0.RC2 |
| Spring Cloud Openfeign | 2.2.0.RC2 | (问题) | Spring Cloud Commons | 2.2.0.RC2 | (问题) | Spring Cloud Dependencies | Hoxton.RC2 |
| Spring Cloud Task | 2.2.0.RC1 | (问题) | Spring Cloud Function | 3.0.0.RC2 | (问题) | Spring Cloud | Hoxton.RC2 |
| Spring Cloud Netflix | 2.2.0.RC2 |
| Spring Cloud Security | 2.2.0.RC2 |
| Spring Cloud Release | Hoxton.RC2 |
| Spring Cloud Cloudfoundry | 2.2.0.RC2 |

一如既往,我们欢迎大家在 GitHubGitterStack OverflowTwitter 上提供反馈。

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.RC2</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"
}
}

repositories {
maven {
url 'https://repo.spring.io/milestone'
}
}

apply plugin: "io.spring.dependency-management"

dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.RC2'
}
}

dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

VMware 提供培训和认证,助您加速进步。

了解更多

获得支持

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件,只需一份简单的订阅。

了解更多

即将举行的活动

查看 Spring 社区所有即将举行的活动。

查看所有