Spring Cloud Camden RC1 发布了,这次发布的版本修复了大量的bug,下面这些模块是作为Camden R1更新的一部分:
MODULE VERSION
Spring Cloud Build 1.2.0.RELEASE
Spring Cloud StreamBrooklyn.RC1
Spring Cloud Bus 1.2.0.RC1
Spring Cloud Config1.2.0.RC1
Spring Cloud Netflix1.2.0.RC1
Spring Cloud Consul1.1.0.RC1
Spring Cloud Contract1.0.0.RC1
发行说明:
点此查看更新日志
使用:
<repositories> <repository> <id>spring-milestones</id> <name>Spring Milestones</name> <url>http://repo.spring.io/milestone</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <dependencyManagement> <dependencies> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Camden.RC1</version> <type>pom</type> <scope>import</scope> </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-eureka</artifactId> </dependency> ... </dependencies>
或者使用Gradle
buildscript { dependencies { classpath "io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE" } } repositories { maven { url 'http://repo.spring.io/milestone' } } apply plugin: "io.spring.dependency-management" dependencyManagement { imports { mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.RC1' } } dependencies { compile 'org.springframework.cloud:spring-cloud-starter-config' compile 'org.springframework.cloud:spring-cloud-starter-eureka' ... }
Spring Cloud 为开发者提供了在分布式系统(如配置管理、服务发现、断路器、智能路由、微代理、控制总线、一次性 Token、全局锁、决策竞选、分布式会话和集群状态)操作的开发工具。使用 Spring Cloud 开发者可以快速实现上述这些模式。