Microservices Demo with Eureka and Load Balancing
This project demonstrates a simple microservices architecture using Spring Boot, Eureka Service Registry, and Round-Robin Load Balancing. It consists of three services: Eureka Server, Payment Service, and Order Service.
Service | Port(s) | Description |
---|---|---|
Eureka Server | 8761 | Service Registry for service discovery |
Payment Service | 8082, 8083 | Returns sample payment status for a given payment ID |
Order Service | 8081 | Fetches order details and calls Payment Service to get payment status |
Features:
Service registration and discovery using Eureka
Inter-service communication using RestTemplate
Load balancing across multiple instances using Spring Cloud LoadBalancer (Round-Robin strategy)
OUTPUT

