Spring Microservices in Action, Second Edition
Spring Microservices in Action, Second Edition teaches you to build microservice-based applications using Java and Spring. Summary By dividing large applications into separate self-contained units, Microservices are a great step toward reducing complexity and increasing flexibility. Spring Microservices in Action, Second Edition teaches you how to build microservice-based applications using Java and the Spring platform. This second edition is fully updated for the latest version of Spring, with expanded coverage of API routing with Spring Cloud Gateway, logging with the ELK stack, metrics with Prometheus and Grafana, security with the Hashicorp Vault, and modern deployment practices with Kubernetes and Istio. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Building and deploying microservices can be easy in Spring! Libraries like Spring Boot, Spring Cloud, and Spring Cloud Gateway reduce the boilerplate code in REST-based services. They provide an effective toolbox to get your microservices up and running on both public and private clouds. About the book Spring Microservices in Action, Second Edition teaches you to build microservice-based applications using Java and Spring. You’ll start by creating basic services, then move to efficient logging and monitoring. Learn to refactor Java applications with Spring’s intuitive tooling, and master API management with Spring Cloud Gateway. You’ll even deploy Spring Cloud applications with AWS and Kubernetes. What's inside Microservice design principles and best practices Configuration with Spring Cloud Config and Hashicorp Vault Client-side resiliency with Resilience4j, and Spring Cloud Load Balancer Metrics monitoring with Prometheus and Grafana Distributed tracing with Spring Cloud Sleuth, Zipkin, and ELK Stack About the reader For experienced Java and Spring developers. About the author John Carnell is a senior cloud engineer with 20 years of Java experience. Illary Huaylupo Sánchez is a software engineer with over 13 years of experience. Table of Contents 1 Welcome to the cloud, Spring 2 Exploring the microservices world with Spring Cloud 3 Building microservices with Spring Boot 4 Welcome to Docker 5 Controlling your configuration with the Spring Cloud Configuration Server 6 On service discovery 7 When bad things happen: Resiliency patterns with Spring Cloud and Resilience4j 8 Service routing with Spring Cloud Gateway 9 Securing your microservices 10 Event-driven architecture with Spring Cloud Stream 11 Distributed tracing with Spring Cloud Sleuth and Zipkin 12 Deploying your microservices