Building Microservices with Spring Boot & Spring Cloud
0% Completed
Subtitle Guide – Hướng dẫn thêm phụ đề
01 – Introduction
Subtitle File Resource
Reading
001 Course Introduction
Video - 00:04:04 mins
002 What are Microservices Really All About
Video - 00:04:54 mins
003 My Top Udemy Courses - Don't Skip
Reading
004 Best Way to Take this Course and How to Get Help
Reading
005 Download Source Code and Lecture Notes in PDF
Reading
006 Guide to Set up Development Environment
Reading
02 – Spring Boot REST API Development Basics
Subtitle File Resource
Reading
001 Section Overview
Video - 00:01:48 mins
002 Create and Set up Spring Boot Project in IntelliJ IDEA
Video - 00:05:52 mins
003 Create Simple Spring Boot REST API - GetMapping
Video - 00:07:21 mins
004 Spring Boot REST API returns Java Bean
Video - 00:05:39 mins
005 Create Spring Boot REST API returns List
Video - 00:03:52 mins
006 Spring Boot REST API with Path Variable - PathVariable
Video - 00:07:58 mins
007 Spring Boot REST API with Request Param - RequestParam
Video - 00:06:41 mins
008 Spring Boot POST REST API - PostMapping and RequestBody
Video - 00:09:21 mins
009 Spring Boot PUT REST API - PutMapping and RequestBody
Video - 00:09:05 mins
010 Spring Boot DELETE REST API - DeleteMapping
Video - 00:04:47 mins
011 Using Spring ResponseEntity to Manipulate the HTTP Response
Video - 00:09:38 mins
012 Define Base URL for REST API’s in Spring MVC Controller - RequestMapping
Video - 00:05:31 mins
013 Download Source Code of this Section
Reading
03 – Building CRUD REST API’s with MySQL Database
Subtitle File Resource
Reading
001 Section Introduction
Video - 00:01:49 mins
002 Create and Setup Spring Boot Project in IntelliJ
Video - 00:05:59 mins
003 Configure MySQL Database in Spring Boot App
Video - 00:05:30 mins
004 Create User JPA Entity
Video - 00:06:51 mins
005 Create Spring Data JPA Repository - UserRepository
Video - 00:06:20 mins
006 Build Create User REST API
Video - 00:13:35 mins
007 Build Get User By ID REST API
Video - 00:08:14 mins
008 Build Get All Users REST API
Video - 00:05:27 mins
009 Build Update User REST API
Video - 00:10:12 mins
010 Build Delete User REST API
Video - 00:05:04 mins
011 Download Source Code of this Section
Reading
04 – Using DTO (Data Transfer Object) Pattern
Subtitle File Resource
Reading
001 Understanding DTO Pattern
Video - 00:04:07 mins
002 How to Use DTO in Spring Boot Application
Video - 00:05:17 mins
003 Refactor Create User REST API to use DTO
Video - 00:10:15 mins
004 Create and Use UserMapper Class
Video - 00:05:20 mins
005 Refactor Get User By Id REST API to use DTO
Video - 00:03:42 mins
006 Refactor Get All Users REST API to use DTO
Video - 00:03:44 mins
007 Refactor Update User REST API to use DTO
Video - 00:04:30 mins
008 Download Source Code of this Section
Reading
05 – Using Mapping Libraries to Map Entity to DTO and Vice Versa
Subtitle File Resource
Reading
001 ModelMapper and MapStruct Libraries Overview
Video - 00:04:30 mins
002 Using ModelMapper Library to Map Entity to DTO
Video - 00:13:23 mins
003 Using MapStruct Library Step 1
Video - 00:04:33 mins
004 Using MapStruct Library Step 2 Create Mapper
Video - 00:05:07 mins
005 Using MapStruct Library Step 3
Video - 00:07:10 mins
006 Download Source Code of this Section
Reading
06 – Exception Handling in Spring Boot Application
Subtitle File Resource
Reading
001 Spring Boot Default Error Handling Overview
Video - 00:04:24 mins
002 Spring Boot REST API Exception Handling Overview
Video - 00:02:18 mins
003 How to Create and Use Custom Exception - ResourceNotFoundException
Video - 00:13:07 mins
004 Handing Specific Custom Exception - ResourceNotFoundException
Video - 00:10:34 mins
005 Handing Specific Custom Exception - EmailAlreadyExistsException
Video - 00:08:38 mins
006 Spring Boot REST API Global Exception Handling
Video - 00:03:57 mins
007 Download Source Code of this Section
Reading
07 – Spring Boot REST API Validation
08 – Spring Boot Actuator – Production Ready Features
Subtitle File Resource
Reading
001 Lecture Notes in PDF Format
Reading
002 Adding Actuator to Spring Boot App
Video - 00:04:21 mins
003 The info Endpoint
Video - 00:03:30 mins
004 The health Endpoint
Video - 00:02:28 mins
005 The beans Endpoint
Video - 00:03:15 mins
006 The conditions Endpoint
Video - 00:02:38 mins
007 The mappings Endpoint
Video - 00:03:37 mins
008 The configprops Endpoint
Video - 00:02:34 mins
009 The metrics Endpoint
Video - 00:05:11 mins
010 The env & threaddump Endpoints
Video - 00:03:46 mins
011 The loggers Endpoint
Video - 00:04:39 mins
012 The shutdown Endpoint
Video - 00:03:03 mins
09 – Spring Boot REST API Documentation
Subtitle File Resource
Reading
001 Section Overview and Demo
Video - 00:04:00 mins
002 Generate REST API Documentation using SpringDoc OpenAPI
Video - 00:08:27 mins
003 Define General API Information using Annotations
Video - 00:06:17 mins
004 Customizing Swagger API Documentation with Annotations
Video - 00:11:52 mins
005 Download Source Code of this Section
Reading
10 – Microservices Introduction
Subtitle File Resource
Reading
001 Monolith Architecture and Challenges of Monolith Architecture
Video - 00:07:37 mins
002 What is Microservices How It Solves the Challenges of Monolith Architecture
Video - 00:06:17 mins
003 Microservices Architecture Benefits and Best Practices
Video - 00:07:42 mins
004 Understanding Spring Cloud and It's Important Modules
Video - 00:10:32 mins
005 Microservices Architecture with Spring Boot and Spring Cloud
Video - 00:04:43 mins
006 Let's Draw Diagram Microservices Architecture for Our Project
Video - 00:08:37 mins
007 Microservice Applications and It's Port Mapping
Reading
008 This Project Supports Spring Boot 3 and Spring Cloud 2022.0.0 - Latest Versions
Reading
11 – Building Microservices
Subtitle File Resource
Reading
001 How to Choose the Compatible Versions of Spring Boot and Spring Cloud
Video - 00:02:50 mins
002 Update on Spring Boot 3 Version
Reading
003 Create Two Microservices - EmployeeService and DepartmentService
Video - 00:05:23 mins
004 Import and Setup 2 Microservices in IntelliJ IDEA
Video - 00:03:38 mins
005 DepartmentService - Configure MySQL Database
Video - 00:05:32 mins
006 DepartmentService - Create Department JPA Entity and Spring Data JPA Repository
Video - 00:06:46 mins
007 DepartmentService - Build Save Department REST API
Video - 00:14:43 mins
008 DepartmentService - Build Get Department REST API
Video - 00:07:54 mins
009 EmployeeService - Configure MySQL Database
Video - 00:04:28 mins
010 EmployeeService - Create Employee JPA Entity and Spring Data JPA Repository
Video - 00:05:38 mins
011 EmployeeService - Build Save Employee REST API
Video - 00:11:53 mins
012 EmployeeService - Build Get Employee REST API
Video - 00:05:37 mins
013 Download Source Code of this Section
Reading
13 – Microservices Communication
Subtitle File Resource
Reading
001 Microservices Communication Overview
Video - 00:03:08 mins
002 Microservices Communication using RestTemplate
Video - 00:15:43 mins
003 Microservices Communication using WebClient
Video - 00:07:20 mins
004 Microservices Communication using Spring Cloud OpenFeign
Video - 00:11:18 mins
005 Download Source Code of this Section
Reading
14 – Service Registry and Discovery using Spring Cloud Netflix Eureka
Subtitle File Resource
Reading
001 Understanding Service Registry
Video - 00:05:35 mins
002 Create and Setup service
Video - 00:04:32 mins
003 Spring Cloud Netflix Eureka
Video - 00:04:11 mins
004 Update on Using Spring Boot 3 Version
Reading
005 Register DepartmentService Microservice
Video - 00:06:47 mins
006 Update on using Spring Boot 3 Version
Reading
007 Register EmployeeService
Video - 00:03:55 mins
008 Running Multiple Instances
Video - 00:07:07 mins
009 Load Balancing with Eureka
Video - 00:12:06 mins
010 Download Source Code of this Section
Reading
15 – API Gateway using Spring Cloud Gateway
Subtitle File Resource
Reading
001 Understanding API Gateway
Video - 00:06:23 mins
002 Create and Set up API Gateway Microservice in IntelliJ IDEA
Video - 00:04:12 mins
003 Update on Using Spring Boot 3 Version
Reading
004 Register API-Gateway as Eureka Client to Eureka Server
Video - 00:03:22 mins
005 Configuring API Gateway Routes and Test using Postman Client
Video - 00:13:58 mins
006 Using Spring Cloud Gateway to Automatically Create Routes
Video - 00:09:59 mins
007 Download Source Code of this Section
Reading
16 – Centralized Configurations using Spring Cloud Config Server
Subtitle File Resource
Reading
001 Why Spring Cloud Config Server
Video - 00:03:45 mins
002 How to Use Spring Cloud Config Server
Video - 00:03:37 mins
003 Create and Setup Spring Cloud
Video - 00:04:35 mins
005 Register Config-Server as Eureka Client
Video - 00:02:29 mins
006 Set up Git Location for Config Server
Video - 00:04:23 mins
007 Refactor Department
Video - 00:09:01 mins
008 Refactor Employee
Video - 00:06:10 mins
009 Refresh Use case
Video - 00:10:10 mins
010 Download Source Code of this Section
Reading
17 – Auto Refresh Config Changes using Spring Cloud Bus
18 – Distributed Tracing with Spring Cloud Sleuth and Zipkin
Subtitle File Resource
Reading
001 What Problem Distributed Tracing Solves
Video - 00:02:24 mins
002 How Distributed Tracing Works
Video - 00:02:28 mins
003 Warning
Reading
004 Distributed Tracing using Spring Cloud Sleuth
Video - 00:08:18 mins
005 Distributed Tracing with Zipkin
Video - 00:14:38 mins
006 Download Source Code of this Section
Reading
19 – Circuit Breaker using Resilience4J Implementation
Subtitle File Resource
Reading
001 Reference Links Used in this Section of the Lectures
Reading
002 What Problem Circuit Breaker
Video - 00:05:13 mins
004 Circuit Breaker Pattern
Video - 00:08:34 mins
005 Circuit Breaker Pattern Part 2
Video - 00:11:10 mins
006 Circuit Breaker Pattern Part 3
Video - 00:08:19 mins
007 Retry Pattern Implementation using Resilience4j
Video - 00:10:06 mins
008 Download Source Code of this Section
Reading
20 – Refactor Code
21 – How to Add New Organization Microservice to Existing Project
Subtitle File Resource
Reading
001 Section Overview
Video - 00:02:00 mins
002 Create Organization
Video - 00:03:54 mins
003 Configure MySQL Database
Video - 00:03:44 mins
004 Create Organization JPA
Video - 00:07:12 mins
005 Create OrganizationDto
Video - 00:04:31 mins
006 Build Save Organization
Video - 00:11:37 mins
007 Get Organization
Video - 00:07:27 mins
008 Make REST API Call
Video - 00:11:28 mins
009 Update on Using Spring Boot 3 Version
Reading
010 Register Organization
Video - 00:04:11 mins
011 Refactor Organization
Video - 00:05:22 mins
012 Configure Spring Cloud Bus
Video - 00:07:02 mins
013 Implement distributed tracing
Video - 00:03:49 mins
014 Download Source Code of this Section
Reading
22 – Creating React Frontend Microservice
Subtitle File Resource
Reading
001 Section Overview
Video - 00:02:12 mins
002 Create React App
Video - 00:10:40 mins
003 Adding Bootstrap
Video - 00:03:58 mins
004 Write HTTP Client Code
Video - 00:05:54 mins
005 Create a React Component
Video - 00:15:01 mins
006 Design the Page to Display User
Video - 00:12:28 mins
23 – Migration to Spring Boot 3 and Spring Cloud 2022.0.1
24 – Department-Service – REST API Documentation
25 – Organization-Service – REST API Documentation
26 – Employee-Service – REST API Documentation
27 – Dockering Spring Boot Application Step by Step
Subtitle File Resource
Reading
001 Install Docker Desktop
Reading
002 General Docker Workflow
Video - 00:03:33 mins
003 Create Spring Boot Project
Video - 00:05:26 mins
004 Create Dockerfile
Video - 00:06:13 mins
005 Build Docker Image
Video - 00:06:08 mins
006 Run Docker Image
Video - 00:07:22 mins
007 Push Docker Image
Video - 00:07:46 mins
008 Pulll Docker Image
Video - 00:07:54 mins
009 Download Source Code of this Section
Reading
28 – Dockering Spring Boot MySQL CRUD Application Step by Step
Subtitle File Resource
Reading
001 Dockerizing Spring Boo
Video - 00:01:22 mins
002 Pull Docker Container
Video - 00:07:41 mins
003 Create a Dockerfile
Video - 00:06:11 mins
004 Implement Profile
Video - 00:08:22 mins
005 Run Spring Boot App
Video - 00:08:09 mins
006 Download Source Code of this Section
Reading
29 – Docker Compose – Dockering Spring Boot MySQL CRUD Application Step by Step
30 – Learn Apache Kafka with Spring Boot (Important for Beginners)
Subtitle File Resource
Reading
001 What is Apache Kafka
Video - 00:04:22 mins
002 Apache Kafka Core Concepts
Video - 00:10:16 mins
003 Install and Set up Kafka on Mac
Video - 00:08:03 mins
004 Install and Set up Kafka on Windows
Video - 00:14:17 mins
005 Create and Setup
Video - 00:04:36 mins
006 Configure Kafka Producer and Consumer
Video - 00:10:08 mins
007 Create Kafka Topic
Video - 00:04:06 mins
008 Create Kafka Producer
Video - 00:05:59 mins
009 Create REST API to Send Message
Video - 00:09:11 mins
010 Create Kafka Consumer
Video - 00:06:14 mins
011 Spring Kafka – JSON Serializer
Video - 00:01:35 mins
012 Configure Kafka Producer
Video - 00:04:17 mins
013 Create Simple POJO
Video - 00:02:04 mins
014 Create Kafka Producer
Video - 00:05:55 mins
015 Create REST API
Video - 00:08:09 mins
016 Create Kafka Consumer
Video - 00:05:38 mins
017 Refactor Code
Video - 00:12:25 mins
018 Download Source Code of this Section
Video - 00:00 mins
31 – Spring Boot Kafka Real-World Project – Wikimedia Data Processing
Subtitle File Resource
Reading
001 Real World Project Overview
Video - 00:03:01 mins
002 Spring Boot Kafka Project Setup
Video - 00:01:01 mins
003 Wikimedia Producer
Video - 00:08:32 mins
004 Configure Wikimedia Producer
Video - 00:04:47 mins
005 Wikimedia Producer Implementation
Video - 00:15:44 mins
007 Kafka Consumer Project Setup
Video - 00:04:23 mins
008 Configure Kafka Consumer
Video - 00:03:32 mins
009 Kafka Consumer Implementation
Video - 00:06:26 mins
010 Configure MySQL Database
Video - 00:07:08 mins
011 Save Wikimedia Data
Video - 00:08:15 mins
012 Refactor Code to Externalize
Video - 00:07:55 mins
018 Download Source Code of this Section
Reading
013 Download Source Code of this Section
Reading
32 – Event-Driven Microservices using Spring boot and Kafka
Subtitle File Resource
Reading
001 What is Event Driven Architecture
Video - 00:03:46 mins
002 How Event Driven Architecture
Video - 00:04:58 mins
003 Event-Driven Microservices
Video - 00:01:27 mins
004 Create 4 Microservices
Video - 00:05:34 mins
005 Import and Setup 4
Video - 00:06:51 mins
006 Base-Domains Microservice
Video - 00:03:12 mins
007 OrderService Microservice
Video - 00:07:02 mins
008 OrderService Microservice
Video - 00:03:53 mins
009 OrderService Microservice
Video - 00:07:31 mins
010 OrderService Microservice
Video - 00:07:03 mins
011 StockService Microservice
Video - 00:07:58 mins
013 EmailService Microservice
Video - 00:04:29 mins
014 Run 3 Microservices
Video - 00:03:36 mins
015 Download Source Code of this Section
Reading
33 – Learn RabbitMQ with Spring Boot (Important for Beginners)
Subtitle File Resource
Reading
001 Section Overview
Reading
002 What is RabbitMQ
Video - 00:03:45 mins
003 RabbitMQ Core Concepts
Video - 00:05:49 mins
004 RabbitMQ Architecture
Video - 00:03:14 mins
005 Install and Setup
Video - 00:06:13 mins
006 Explore RabbitMQ
Video - 00:07:56 mins
007 Create and Setup
Video - 00:06:15 mins
008 Connection
Video - 00:04:27 mins
009 Configure RabbitMQ
Video - 00:13:30 mins
010 Create RabbitMQ Producer
Video - 00:06:47 mins
011 Create REST API
Video - 00:07:50 mins
012 Create RabbitMQ Consumer
Video - 00:06:34 mins
013 Configure RabbitMQ
Video - 00:11:43 mins
014 Create RabbitMQ
Video - 00:06:33 mins
015 Create REST API
Video - 00:06:56 mins
016 Create RabbitMQ Consumer
Video - 00:05:33 mins
017 Download Source Code of this Section
Reading
34 – Event-Driven Microservices using Spring boot and RabbitMQ
Subtitle File Resource
Reading
001 Event-Driven Microservices
Video - 00:02:09 mins
002 Create 3 Microservices
Video - 00:04:45 mins
003 Import and Setup 3
Video - 00:07:17 mins
004 OrderService Microservice
Video - 00:14:28 mins
005 OrderService Microservice
Video - 00:08:36 mins
006 OrderService Microservice
Video - 00:11:18 mins
007 StockService Microservice
Video - 00:03:20 mins
008 StockService Microservice
Video - 00:07:58 mins
009 OrderService Microservice
Video - 00:06:47 mins
010 OrderService Microservice
Video - 00:03:19 mins
011 EmailService Microservice
Video - 00:05:53 mins
012 Run 3 Microservices
Video - 00:05:46 mins
013 Note on When to use Kafka, and when to use RabbitMQ
Reading
014 Download Source Code of this Section
Reading
This project supports the Latest Spring Boot 3 and Spring Cloud 2022.0.0.
So while creating Spring boot projects using https://start.spring.io/, you can choose the latest version of Spring Boot 3.0.x.
GitHub repository for Spring Boot 2.x – https://github.com/RameshMF/springboot-microservices/tree/main/springboot-microservices
GitHub repository for Spring Boot 3.x – https://github.com/RameshMF/springboot-microservices/tree/main/v3/springboot-microservices
Conclusion:
This project supports both Spring Boot 2.x and Spring Boot 3.x users.
Finish Course Early?
You have not completed all required lessons and assessments.
Your Progress
0%
