Build production-ready microservices with Spring Boot and Spring Cloud. This book goes beyond APIs to cover the complete architecture behind production¿ready microservices with Spring Boot.
You'll start with an introduction to microservices and implementation patterns, preparing to build three interdependent microservices—managing EV charge station inventory, charging session data, and payment information. Each one will invoke each other’s APIs, demonstrating their basic form without service discovery or load balancing. This will serve as a basic guide to building microservices with Spring Boot. From there, you will begin to build out the architecture using service discovery, API Gateway, centralized configuration, and fault resistance. Each section will add a new microservice component, such as Eureka for service discovery, building on previous revisions and testing each addition.
The step-by-step approach guides you to introduce new functionalities while enhancing existing ones with an understanding of the rationale behind each decision. Not only will you gain enhanced development skills, but you will develop a deeper understanding of overall design and architecture techniques.
What You Will Learn
- Understand core microservice patterns, advantages, and challenges
- Gain insight into the complete microservices architecture with API Gateway (Edge Server), Service Discovery, Centralized Configuration and Security, Distributed Tracing, and Centralized Log Analysis
- Secure microservices by setting up Spring Authorization Server
- Understand fault tolerance in microservices using the resilience4j framework
Who This Book Is For
Intermediate Java developers with background knowledge of API development and familiarity with Spring/Spring Boot. This book will also interest developer managers, architecture/technical leads, and stakeholders who want to gain an understanding of overall microservice architecture and need to lead projects or make decisions based on the technology.