Back to Projects
Java
system layer

Spring Cloud Microservices

A reference implementation of Spring Cloud microservices with Eureka discovery, Feign clients, and API Gateway.

⭐ 1 stars🍴 0 forks🕒 Updated 1y ago
feign-clientjava-17java17mavenmicroservicesspring-bootspring-cloudspring-eureka-clientspring-eureka-serverspringboot3-x

Signal

API requests from clients to a single stable hostname, hiding the dynamic service topology.

Decision

Spring Cloud Gateway reverse-proxies to correct microservice using Eureka registry lookup at runtime.

System

Eureka service registry, Spring Cloud Gateway, Order Service calling Inventory via Feign declarative HTTP client with Ribbon load balancing.

Trust

Circuit-breaker pattern prevents cascading failures. Health checks auto-deregister crashed instances within seconds.

Engineering Challenges

Implementing consistent distributed tracing across Feign calls so a single user request can be traced end-to-end through all services.