
Brief Introduction about myself. We will go through the course structure and course objectives.
Start and run the student microservice, launch multiple instances on different ports, connect to the database, and exercise endpoints to list all students, fetch details, and filter by class teacher.
Create a teacher microservice with Spring Boot using Spring Initializr, add Eureka Discovery Client, Lombok, Spring Data, and OpenFeign to enable database access and inter-service communication.
Run the teacher microservice, start the application, and verify connectivity to the student microservice by listing all teachers and retrieving their students through defined endpoints.
Run the service ecosystem in the correct sequence by starting the Utica server, school, student, and the detailed application, then query endpoints for teachers and students across instances.
Explore a microservices system architecture with a clean load balancer, mapping service, student and school services, a discovery service, and embedded Spring Data. See the full request flow and responses.
Spring Boot and Microservices are the latest buzz words in the IT industry. Anyone having these skills are like hot selling cakes in the Market.Spring Cloud provides us the ability to quickly build Microservices with Spring Boot.
In this course, we will build simple Java Microservices using Spring Boot and Spring Cloud.
We will use the below technology stack.
Spring Cloud Netflix Eureka Server
Spring Cloud Netflix Eureka Client
Spring Cloud Netflix Zuul
Spring Cloud OpenFeign
Spring Boot Data JPA
Spring Boot Web
H2 Embedded Database
Lombok Framework
Course Objectives
Monoliths vs Microservices
Understand Microservices Application Components
Build Eureka Server
Build Student Application - Microservices 1
Build Teacher Application - Microservices 2
Build Gateway Application - School Gateway
We will create the Microservice Ecosystem by building the following components:
Eureka Server - This will be the Service Discovery Registry where the Microservices needs to register. We will use
Student Microservice - This will be the first Microservice for our School Application.
Teacher Microservice - This will be the second Microservice for our School Application.
School Gateway - This will use Netflix Zuul to enable Routing Logic for the School Application.
This will be the entry point to Microservice ecosystem and it will route the request to the relevant Microservice based on the configured routing paths.
We will hit the different endpoints using curl for testing the Microservices.