Spring Cloud Netflix 2.0.0 已发布,更新内容包括:
Starters deprecated in Edgware have been removed
spring-cloud-netflix-hystrix-amqp
has been removed
ZuulFallbackProvider
has been removed and replaced with FallbackProvider
#2262
/hystrix.stream
now uses WebFlux #2629
Turbine now has a /clusters
endpoint that can be used to discover configured clusters #2223
Spring Cloud OpenFeign has been moved to its own project
Zuul metrics now use Micrometer
Turbine Stream support was rewritten to use Spring Webflux.
该项目通过自动配置和绑定到 Spring 环境以及其他 Spring 编程模型惯用语法为 Spring Boot 应用程序提供了 Netflix OSS 集成。
下载地址:
Source code (zip)
Source code (tar.gz)
Maven 地址:
<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-netflix</artifactId> <version>2.0.0.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eureka</artifactId> </dependency> </dependencies>