Building Microservices With Spring Boot And Spring Cloud
Published 11/2022
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 6.48 GB | Duration: 13h 48m
Published 11/2022
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 6.48 GB | Duration: 13h 48m
Learn Building Microservices using Spring Boot, Spring Cloud, React, Kafka, RabbitMQ and REST API (REST Web Services)
What you'll learn
Build REST API's using Spring Boot - Important Spring MVC Annotations
Build CRUD REST API's using Spring Boot, Spring Data JPA and MySQL Database
Building Spring Boot Microservices in IntelliJ IDEA
Microservices Communication using RestTemplate, WebClient and Cloud OpenFeign
Create Service Registry and Discovery using Spring Cloud Netflix Eureka
Create API Gateway using Spring Cloud Gateway
Centralized Configurations using Spring Cloud Config Server
Auto Refresh Config Changes using Spring Cloud Bus
Distributed Tracing with Spring Cloud Sleuth and Zipkin
Resilience4J: Circuit Breaker, Retry and RateLimiter Patterns
How to Add Step by Step New Microservice to Existing Project
Create React Frontend Microservice and Integrate with Backend Microservices
Event-Driven Microservices using Spring boot and Kafka
Event-Driven Microservices using Spring boot and RabbitMQ
Requirements
Java
Spring Boot Basics
Familiar with IntelliJ IDEA
No Microservices experience needed. You will learn everything you need to know about Microservices
Description
In this course, you will learn to build Microservices using Spring Boot, Spring Cloud, React, Kafka, RabbitMQ, and REST API (REST Web Services).Microservices:A Microservice is a service built around a specific business capability that can be independently deployed. So, to build large enterprise applications we can identify the sub-domains of our main business domain and build each sub-domain as a MicroService using Domain Driven Design (DDD) techniques. But in the end, we need to make all these microservices work together to serve the end user as if it is a single application.Why Spring boot and Spring cloud are good choices for MicroServices?Spring Boot is the most popular and widely used Java framework for building Microservices. These days many organizations prefer to deploy their applications in a Cloud environment instead of taking all the headaches of maintaining a data center themselves. But we need to take good care of the various aspects to make our applications Cloud Native. There comes the beauty of Spring Cloud.Spring Cloud is essentially an implementation of various design patterns to be followed while building Cloud Native applications. Instead of reinventing the wheel, we can simply take advantage of various Spring Cloud modules and focus on our main business problem than worrying about infrastructural concerns.What you'll learnBuild RESTful web services using Spring Boot - Learn Important Spring MVC AnnotationsBuild CRUD REST API's using Spring Boot, Spring Data JPA, and MySQL DatabaseBuilding Spring Boot Microservices in IntelliJ IDEAMicroservices Communication using RestTemplate, WebClient, and Spring Cloud OpenFeignCreate Service Registry and Discovery using Spring Cloud Netflix EurekaCreate API Gateway using Spring Cloud GatewayCentralized Configurations using Spring Cloud Config ServerAuto Refresh Config Changes using Spring Cloud BusDistributed Tracing with Spring Cloud Sleuth and ZipkinResilience4J: Circuit Breaker, Retry, and RateLimiter PatternsAdding Step-by-step new Microservice to Existing ProjectCreate React Frontend Microservice and Integrate with Backend MicroservicesEvent-Driven Microservices using Spring boot and KafkaTools and technologies used:1. Java 17+2. Spring boot3. Spring Cloud4. Microservices5. React6. Resilience4J framework7. Maven8. IntelliJ IDEA9. MySQL database10. Postman 11. Kafka12. RabbitMQ
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 Best Way to Take this Course and How to Get Help
Lecture 3 Download Source Code and Lecture Notes in PDF
Section 2: Spring Boot REST API Development Basics
Lecture 4 Section Overview
Lecture 5 Create and Set up Spring Boot Project in IntelliJ IDEA
Lecture 6 Create Simple Spring Boot REST API - @GetMapping
Lecture 7 Spring Boot REST API returns Java Bean
Lecture 8 Create Spring Boot REST API returns List
Lecture 9 Spring Boot REST API with Path Variable - @PathVariable
Lecture 10 Spring Boot REST API with Request Param - @RequestParam
Lecture 11 Spring Boot POST REST API - @PostMapping and @RequestBody
Lecture 12 Spring Boot PUT REST API - @PutMapping and @RequestBody
Lecture 13 Spring Boot DELETE REST API - @DeleteMapping
Lecture 14 Using Spring ResponseEntity to Manipulate the HTTP Response
Lecture 15 Define Base URL for REST API’s in Spring MVC Controller - @RequestMapping
Lecture 16 Download Source Code of this Section
Section 3: Building CRUD REST API’s with MySQL Database
Lecture 17 Section Introduction
Lecture 18 Create and Setup Spring Boot Project in IntelliJ
Lecture 19 Configure MySQL Database in Spring Boot App
Lecture 20 Create User JPA Entity
Lecture 21 Create Spring Data JPA Repository - UserRepository
Lecture 22 Build Create User REST API
Lecture 23 Build Get User By ID REST API
Lecture 24 Build Get All Users REST API
Lecture 25 Build Update User REST API
Lecture 26 Build Delete User REST API
Lecture 27 Download Source Code of this Section
Section 4: Using DTO (Data Transfer Object) Pattern
Lecture 28 Understanding DTO Pattern
Lecture 29 How to Use DTO in Spring Boot Application
Lecture 30 Refactor Create User REST API to use DTO
Lecture 31 Create and Use UserMapper Class
Lecture 32 Refactor Get User By Id REST API to use DTO
Lecture 33 Refactor Get All Users REST API to use DTO
Lecture 34 Refactor Update User REST API to use DTO
Lecture 35 Download Source Code of this Section
Section 5: Microservices Introduction
Lecture 36 Spring Cloud and Important Modules
Lecture 37 Microservice Applications and It's Port Mapping
Lecture 38 Choose the Compatible Versions of Spring boot and Spring cloud
Section 6: Building Microservices
Lecture 39 Create Two Microservices - EmployeeService and DepartmentService
Lecture 40 Import and Setup 2 Microservices in IntelliJ IDEA
Lecture 41 DepartmentService - Configure MySQL Database
Lecture 42 DepartmentService - Create Department JPA Entity and Spring Data JPA Repository
Lecture 43 DepartmentService - Build Save Department REST API
Lecture 44 DepartmentService - Build Get Department REST API
Lecture 45 EmployeeService - Configure MySQL Database
Lecture 46 EmployeeService - Create Employee JPA Entity and Spring Data JPA Repository
Lecture 47 EmployeeService - Build Save User REST API
Lecture 48 EmployeeService - Build Get User REST API
Lecture 49 Download Source Code of this Section
Section 7: Microservices Communication
Lecture 50 Microservices Communication Overview
Lecture 51 Microservices Communication using RestTemplate
Lecture 52 Microservices Communication using WebClient
Lecture 53 Microservices Communication using Spring Cloud OpenFeign
Lecture 54 Download Source Code of this Section
Section 8: Service Registry and Discovery using Spring Cloud Netflix Eureka
Lecture 55 Understanding Service Registry
Lecture 56 Create and Setup service-registry Spring boot project in IntelliJ IDEA
Lecture 57 Spring Cloud Netflix Eureka Server Implementation
Lecture 58 Register DepartmentService Microservice as Eureka Client
Lecture 59 Register EmployeeService Microservice as Eureka Client
Lecture 60 Running Multiple Instances of DepartmentService
Lecture 61 Service Registry and Discovery Recap
Lecture 62 Download Source Code of this Section
Section 9: API Gateway using Spring Cloud Gateway
Lecture 63 Understanding API Gateway
Lecture 64 Create and Set up API Gateway Microservice in IntelliJ IDEA
Lecture 65 Register API-Gateway as Eureka Client to Eureka Server
Lecture 66 Configuring API Gateway Routes and Test using Postman Client
Section 10: Centralized Configurations using Spring Cloud Config Server
Lecture 67 Why Spring Cloud Config Server
Lecture 68 How to Use Spring Cloud Config Server
Lecture 69 Create and Setup Spring Cloud Config Server Project in IntelliJ IDEA
Lecture 70 Register Config-Server as Eureka Client
Lecture 71 Set up Git Location for Config Server
Lecture 72 Refactor Department-Service to use Config Server
Lecture 73 Refactor Employee-Service to use Config Server
Lecture 74 Refresh Use case - No Restart Required After Config Changes
Lecture 75 Download Source Code of this Section
Section 11: Auto Refresh Config Changes using Spring Cloud Bus
Lecture 76 What is Problem using Spring Cloud Config Server
Lecture 77 How Spring Cloud Bus works
Lecture 78 Auto Refresh Config Changes using Spring Cloud Bus
Lecture 79 Download Source Code of this Section
Section 12: Distributed Tracing with Spring Cloud Sleuth and Zipkin
Lecture 80 What Problem Distributed Tracing Solves?
Lecture 81 How Distributed Tracing Works
Lecture 82 Distributed Tracing using Spring Cloud Sleuth
Lecture 83 Distributed Tracing with Zipkin
Lecture 84 Download Source Code of this Section
Section 13: Circuit Breaker using Resilience4J Implementation
Lecture 85 What Problem Circuit Breaker pattern Solves?
Lecture 86 How Circuit Breaker Pattern Works?
Lecture 87 Circuit Breaker Pattern implementation using Resilience4j - Part 1
Lecture 88 Circuit Breaker Pattern implementation using Resilience4j - Part 2
Lecture 89 Circuit Breaker Pattern implementation using Resilience4j - Part 3
Lecture 90 Retry Pattern Implementation using Resilience4j
Lecture 91 Download Source Code of this Section
Section 14: Refactor Code
Lecture 92 Refactor Employee-Service and Department-Service to use Mapper
Section 15: How to Add New Organization Microservice to Existing Project
Lecture 93 Section Overview
Lecture 94 Create Organization Microservice using Spring Boot
Lecture 95 Configure MySQL Database in Organization-Service
Lecture 96 Create Organization JPA Entity and Spring Data JPA Repository
Lecture 97 Create OrganizationDto and OrganizationMapper
Lecture 98 Build Save Organization REST API Build
Lecture 99 Get Organization By Code REST API
Lecture 100 Make REST API Call from Employee-Service to Organization-Service
Lecture 101 Register Organization-Service as Eureka Client
Lecture 102 Refactor Organization-Service to use Config Server
Lecture 103 Configure Spring Cloud Bus and Routes for Organization-Service in API-Gateway
Lecture 104 Implement distributed tracing in Organization-Service
Lecture 105 Download Source Code of this Section
Section 16: Creating React Frontend Microservice
Lecture 106 Section Overview
Lecture 107 Create React App using Create React App Tool
Lecture 108 Adding Bootstrap in React Using NPM
Lecture 109 Write HTTP Client Code to Connect React App with API-Gateway (REST API Call)
Lecture 110 Create a React Component and Integrate with API Gateway Microservice
Lecture 111 Design the Page to Display User, Department and Organization Details
Section 17: Event-Driven Microservices using Spring boot and Kafka
Lecture 112 What is Event Driven Architecture?
Lecture 113 How Event Driven Architecture Works and It's Advantages
Lecture 114 Install and Set up Kafka on Mac
Lecture 115 Event-Driven Microservices Project Architecture Overview
Lecture 116 Create 4 Microservices - OrderService, StockService, EmailService & Base-Domains
Lecture 117 Import and Setup 4 Microservices in IntelliJ IDEA
Lecture 118 Base-Domains Microservice - Create DTO Classes - Order and OrderEvent
Lecture 119 OrderService Microservice - Configure Kafka Producer
Lecture 120 OrderService Microservice - Configure Kafka Topic
Lecture 121 OrderService Microservice - Create Kafka Producer
Lecture 122 OrderService Microservice - Create REST API to Send Order and Test Kafka Produce
Lecture 123 StockService Microservice - Configure Kafka Consumer
Lecture 124 StockService Microservice - Create Kafka Consumer
Lecture 125 EmailService Microservice - Configure and Create Kafka Consumer
Lecture 126 Run 3 Microservices Together and Have a Demo
Lecture 127 Download Source Code of this Section
Section 18: Event-Driven Microservices using Spring boot and RabbitMQ
Lecture 128 Install and Setup RabbitMQ using Docker
Lecture 129 Explore RabbitMQ using RabbitMQ Management UI
Lecture 130 Event-Driven Microservices Project Architecture Overview
Lecture 131 Create 3 Microservices - OrderService, StockService and EmailService
Lecture 132 Import and Setup 3 Microservices in IntelliJ IDEA
Lecture 133 OrderService Microservice - Configure RabbitMQ Step By Step
Lecture 134 OrderService Microservice - Create RabbitMQ Producer
Lecture 135 OrderService Microservice - Create REST API to Send Message
Lecture 136 StockService Microservice - Configure RabbitMQ
Lecture 137 StockService Microservice - Create RabbitMQ Consumer
Lecture 138 OrderService Microservice - Configure Email Queue and It’s Binding
Lecture 139 OrderService Microservice - Sending Event to Email Queue
Lecture 140 EmailService Microservice - Configure RabbitMQ and Create RabbitMQ Consumer
Lecture 141 Run 3 Microservices and Have a Demo
Lecture 142 Download Source Code of this Section
This course for Java programmers who want to learn building RESTful Web services and Microservices using Spring Boot, Spring Cloud, Kafka, RabbitMQ and Docker.