Spring Cloud 1.0.0.RC1 發布

jopen 9年前發布 | 22K 次閱讀 Spring Cloud

Spring Cloud 為開發者提供了在分布式系統(如配置管理、服務發現、斷路器、智能路由、微代理、控制總線、一次性 Token、全局鎖、決策競選、分布式會話和集群狀態)操作的開發工具。使用 Spring Cloud 開發者可以快速實現上述這些模式。

Spring Cloud 1.0.0.RC1 發布,此版本現已提供在 http://repo.spring.io 和 Maven 庫。

值得關注的新特性如下:

  • 通過一個注解 @EnableTurbine@EnableTurbineAmqp 支持 Hystrix 指標聚合 (for an AMQP-based collector)

  • 新增一個 rehaul 的 Ribbon 配置,提升了 Spring 用戶體驗

  • DiscoveryHealthIndicator is now a composite that users can add information to by declaring @Beans of type DiscoveryHealthIndicator.

  • Discovery is now abstracted away from Eureka into a new spring-cloud-commons library, and enabled via new annotations like @EnableDiscoveryClient (instead of the old @EnableEurekaClient). The same pattern also applies to circuit breakers
    and @EnableCircuitBreaker replaces @EnableHystrix.

  • Several improvements to the Zuul proxy, including automatic updates when the Eureka catalog changes, support for form-encoded POSTs, external configuration of the routes and authentication scheme for each client.

  • Declarative configuration of which routes require OAuth2 authentication in Spring Cloud Security.

  • Support for labels (like git branches) in the “native” profile of the Config Server (looks in subdirectory of the search locations).

  • Fail fast option in Config Server and Client if the required URI to locate config data is invalid.

  • Out of the box support for JSON messages in the Spring Cloud Bus.

  • A nice framework for Feign configuration based on a new @FeignClient annotation (a bit like Spring Data repositories).

一些 bus 和 Starters 已經被重新組織和重新命名,同時有(可選的)父母 pom 提供給用戶應用,starters 完整列表:

  • spring-cloud-starter: provides the config client and basic Spring Boot dependencies

  • spring-cloud-starter-bus-amqp: for bus clients over AMQP

  • spring-cloud-starter-cloudfoundry: Cloud Foundry specific features

  • spring-cloud-starter-eureka: service discovery client with Netflix Eureka

  • spring-cloud-starter-eureka-server: service discovery server with Netflix Eureka

  • spring-cloud-starter-hystrix: circuit break client with Netflix Hystrix

  • spring-cloud-starter-hystrix-dashboard: circuit break dashboard with Netflix Hystrix

  • spring-cloud-starter-security: single sign on and OAuth2 resource server short cuts

  • spring-cloud-starter-turbine: HTTP-based Hystrix metric aggregation with Netflix Turbine 1.0

  • spring-cloud-starter-turbine-amqp: AMQP-based Hystrix metric aggregation with Netflix Turbine 2.0

  • spring-cloud-starter-zuul: basic Zuul proxy with auto-registration of discovered services

更多內容請看發行說明

來自:http://www.oschina.net/news/58109/spring-cloud-1-0-0-rc1

 

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!