How piomin/sample-spring-microservices works
Project type and purpose
• This is a Spring Cloud–based microservices demo. It uses Spring Boot 1.5 and Spring Cloud Netflix components to illustrate a service gateway (Zuul), service discovery (Eureka), inter-service communication (Feign/Ribbon), and distributed tracing (Sleuth/Zipkin).
File structure
• Top-level services (each a separate Maven module with its own Dockerfile and Jenkinsfile):
• discovery-service – Eureka server
• gateway-service – Zuul API gateway
• account-service – CRUD microservice for accounts
• customer-service – CRUD microservice for customers (calls account-service via Feign/Ribbon)
• zipkin-service – distributed tracing server
• A root pom.xml orchestrates all modules.
• docker-compose.yml brings up all services together.
README for additional insights
• Confirms the architecture: gateway → discovery → microservices → Zipkin