Share
Embed
Transcript
15 slides
-
© 2018 Pivotal !1 Building Reactive Microservices With Spring Cloud
Finchley Ryan Baxter, Software Engineer, Pivotal @ryanjbaxter -
!2 Nice To Meet You • Engineer on the Spring
Cloud team • Get In Touch • @ryanjbaxter • http://ryanjbaxter.com -
!5 Agenda ▪ Spring Cloud Finchley Release ▪ Key Enhancements
▪ Spring Cloud Gateway ▪ Demo ▪ Questions -
!7 Spring Cloud Vault ▪ ReactiveVaultTemplate provides a reactive API
to interact with Vault ▪ Added support for Vault Database backends ▪ Vault will generate credentials for applications ▪ Applications retrieve credentials from Vault ▪ Support for Spring Data’s repository concept on top of Vault ▪ Support for authentication with Vault using Kubernetes Service Account Token -
!8 Spring Cloud Sleuth ▪ Rewritten using Brave ▪ Migration
Guide: https://github.com/spring-cloud/spring-cloud-sleuth/ wiki/Spring-Cloud-Sleuth-2.0-Migration-Guide ▪ Support for tracing when using WebClient, Netty’s HttpClient, and Apache’s (Async) HttpClient ▪ Support for Spring Kafka and Spring RabbitMQ ▪ Support for Amazon X-Ray ▪ Support for Apache Dubbo -
!9 Spring Cloud Contract ▪ Support for RestAssured with RestDocs
▪ Support for Pact v3 and Pact Broker ▪ Ability to upload and fetch stubs from a Git repository ▪ Define contract in YAML ▪ Docker images published for polyglot support -
!10 Spring Cloud Netflix ▪ New /hystrix.stream endpoint for WebFlux
apps ▪ /clusters endpoint added to get Turbine cluster information ▪ Zuul metrics now use Micrometer ▪ OpenFeign has been moved from Spring Cloud Netflix to Spring Cloud OpenFeign ▪ Spring Cloud Netflix AMQP has been removed ▪ spring-cloud-starter-* modules have been removed ▪ Use spring-cloud-netflix-starter-* instead -
!11 Spring Cloud Config ▪ Added support for database backends
▪ Added support for Gitee webhooks ▪ Added the ability to skip SSL validation for Git and Vault backends -
!12 Reactive LoadBalanced WebClients ▪ You can now use the
@LoadBalanced annotation on your WebClients to enable client side load balancing -
!13 Spring Cloud Gateway ▪ Built on Project Reactor, Spring
5, and Spring Boot 2.0 ▪ Spring WebFlux provides a lot of functionality out of the box that is important for the gateway ▪ Spring Cloud Gateway has the concept of predicates and filters in order to target specific requests and modify the request and/or response ▪ Rate Limiting, Circuit Breakers, Web Sockets -
!15 Q&A Spring Cloud Homepage: http://projects.spring.io/spring-cloud/ GitHub: https://github.com/spring-cloud Samples: https://github.com/spring-cloud-samples
Twitter: https://twitter.com/springcloud Ryan Baxter Homepage: http://ryanjbaxter.com GitHub: http://github.com/ryanjbaxter Twitter: http://twitter.com/ryanjbaxter