Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Reactive Microservices With Spring Cloud Finchley

Building Reactive Microservices With Spring Cloud Finchley

Ryan Baxter

May 10, 2018
Tweet

More Decks by Ryan Baxter

Other Decks in Technology

Transcript

  1. © 2018 Pivotal !1 Building Reactive Microservices With Spring Cloud

    Finchley Ryan Baxter, Software Engineer, Pivotal @ryanjbaxter
  2. !2 Nice To Meet You • Engineer on the Spring

    Cloud team • Get In Touch • @ryanjbaxter • http://ryanjbaxter.com
  3. !5 Agenda ▪ Spring Cloud Finchley Release ▪ Key Enhancements

    ▪ Spring Cloud Gateway ▪ Demo ▪ Questions
  4. !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
  5. !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
  6. !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
  7. !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
  8. !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
  9. !12 Reactive LoadBalanced WebClients ▪ You can now use the

    @LoadBalanced annotation on your WebClients to enable client side load balancing
  10. !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
  11. !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