Skip to content

coderpriyal/EurekaAssignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

image image

About

Payment and Order Service with LoadBalancing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages