KEMBAR78
Microservices Using Spring Boot 3 Exercises | PDF
0% found this document useful (0 votes)
138 views2 pages

Microservices Using Spring Boot 3 Exercises

The document outlines exercises for building microservices using Spring Boot 3.0, including a User and Order Management System, an Inventory Management System with service discovery, an API Gateway, and resilient microservices with a Circuit Breaker. Each exercise specifies the required services, technologies, and functionalities such as REST APIs, service discovery, and rate limiting. The document emphasizes the use of Spring Cloud components and database integration for efficient microservice architecture.

Uploaded by

2200030218cseh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views2 pages

Microservices Using Spring Boot 3 Exercises

The document outlines exercises for building microservices using Spring Boot 3.0, including a User and Order Management System, an Inventory Management System with service discovery, an API Gateway, and resilient microservices with a Circuit Breaker. Each exercise specifies the required services, technologies, and functionalities such as REST APIs, service discovery, and rate limiting. The document emphasizes the use of Spring Cloud components and database integration for efficient microservice architecture.

Uploaded by

2200030218cseh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Exercises on Microservices with Spring Boot 3.

1. Build a User and Order Management System

Problem: Create two microservices:

 User Service to manage users.

 Order Service to manage orders placed by users.

Requirements:

 Use REST APIs.

 Communicate between services using WebClient (Spring WebFlux) or


OpenFeign.

 Store data in MySQL or PostgreSQL.

2. Inventory Management System with Service Discovery

Problem: Create:

 Product Service: Manage products and stock.

 Inventory Service: Track stock levels for each product.

Requirements:

 Use Spring Cloud Netflix Eureka for service discovery.

 Implement centralized configuration using Spring Cloud Config Server.

3. Implement an API Gateway

Problem: Create an API Gateway to route requests to:

 Customer Service

 Billing Service

Requirements:

 Use Spring Cloud Gateway.

 Implement rate limiting, caching, and path rewriting.


4. Resilient Microservices with Circuit Breaker

Problem: A Payment Service calls a slow third-party API.

Requirements:

 Implement Circuit Breaker and fallback logic using Resilience4j.

 Log and monitor fallback events.

You might also like