Spread the love
Spring has announced that Milestone 3 (M3) of the Spring Cloud Hoxton (Hoxton.M3) Release is available. The release can be found in the Spring repository.
Significant changes in the Hoxton Release
This latest release is compatible with Spring Boot 2.2.0.RC1.
Spring Cloud Circuit Breaker
This release contains Spring Cloud Circuit Breaker as a new project under the Spring Cloud release train. This project provides an abstraction API for adding circuit breakers to your application. At the time of this blog post, there are four supported implementations:
- Resilience4j
- Spring Retry
- Hystrix (in spring-cloud-netflix)
- Sentinel (in spring-cloud-alibaba)
Below is the list services which are updated under Spring Cloud Hoxton.M3 release
- Spring Cloud Config
- Spring Cloud Commons
- Spring Cloud Cloudfoundry
- Spring Cloud CLI
- Spring Cloud Zookeeper
- Spring Cloud Aws
- Spring Cloud Gateway
- Spring Cloud Netflix
- Spring Cloud Kubernetes
- Spring Cloud Task
- Spring Cloud Contract
- Spring Cloud Openfeign
- Spring Cloud Security
- Spring Cloud Bus
- Spring Cloud Stream
- Spring Cloud Circuitbreaker
- Spring Cloud Sleuth
- Spring Cloud Consul
- Spring Cloud Gcp
- Spring Cloud Function
- Spring Cloud Vault
The following write down shows how to get started with Maven with a BOM (dependency management only):
<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>
The following write down shows how to get started with 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'
...
}
Please find the Spring Repository here.