# javahelper/microservices-with-java-spring-boot-and-spring-cloud architecture

> Architecture diagram of the GitHub repository javahelper/microservices-with-java-spring-boot-and-spring-cloud, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud
- Repository: https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud

## Overview

This repository is a sequence of Spring Cloud microservice examples, not one unified application. The recurring domain is student and address services; the examples progressively introduce service-to-service clients, discovery, load balancing, an API gateway, fault tolerance, tracing, and centralized configuration. The tree supports these example roles, but no README content or source excerpts were provided, so cross-service and runtime relationships remain unverified and are not drawn.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_services["Domain services"]
  node_student_webclient["Student service<br/>[student-service]"]
  node_address_webclient["Address service<br/>[address-service]"]
  node_student_feign["Student service<br/>[student-service]"]
  node_address_feign["Address service<br/>[address-service]"]
end

subgraph group_communication["Service communication"]
  node_webclient["WebClient example"]
  node_openfeign["OpenFeign example"]
end

subgraph group_platform["Service platform"]
  node_eureka[("Eureka registry<br/>[eureka-server]")]
  node_loadbalance["Client load balancing"]
end

subgraph group_gateway["Gateway and resilience"]
  node_gateway["API gateway<br/>[api-gateway]"]
  node_gateway_feign["Gateway with Feign<br/>[api-gateway]"]
  node_circuitbreaker["Circuit breaker"]
end

subgraph group_operations["Operations"]
  node_tracing["Distributed tracing"]
  node_config["Config server"]
end

node_user(("API user"))

click node_student_webclient "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/01.basic-microservices-with-webclient/student-service"
click node_address_webclient "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/01.basic-microservices-with-webclient/address-service"
click node_student_feign "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/02.Using-OpenFeign-RestClient/student-service"
click node_address_feign "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/02.Using-OpenFeign-RestClient/address-service"
click node_webclient "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/01.basic-microservices-with-webclient"
click node_openfeign "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/blob/main/02.Using-OpenFeign-RestClient/student-service/src/main/java/com/example/demo/feignclients/AddressFeignClient.java"
click node_eureka "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/03.Using-Service-registry-eureka/eureka-server"
click node_loadbalance "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/04.using-client-side-loadbalancing"
click node_gateway "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/05.Using-apigw-part1/api-gateway"
click node_gateway_feign "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/05.Using-apigw-with-feign-client/api-gateway"
click node_circuitbreaker "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/06-Fault-tolerance-with-cb"
click node_tracing "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/07-distributed-tracing-with-sleuth-and-zipkin"
click node_config "https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/08-spring-cloud-config-server/config-server"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_student_webclient,node_address_webclient,node_student_feign,node_address_feign,node_user toneBlue
class node_webclient,node_openfeign toneAmber
class node_eureka,node_loadbalance toneMint
class node_gateway,node_gateway_feign,node_circuitbreaker toneRose
class node_tracing,node_config toneIndigo
```

## Components

### Domain services

- [Student service](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/01.basic-microservices-with-webclient/student-service): `01.basic-microservices-with-webclient/student-service`
- [Address service](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/01.basic-microservices-with-webclient/address-service): `01.basic-microservices-with-webclient/address-service`
- [Student service](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/02.Using-OpenFeign-RestClient/student-service): `02.Using-OpenFeign-RestClient/student-service`
- [Address service](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/02.Using-OpenFeign-RestClient/address-service): `02.Using-OpenFeign-RestClient/address-service`

### Service communication

- [WebClient example](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/01.basic-microservices-with-webclient): `01.basic-microservices-with-webclient`
- [OpenFeign example](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/blob/main/02.Using-OpenFeign-RestClient/student-service/src/main/java/com/example/demo/feignclients/AddressFeignClient.java): `02.Using-OpenFeign-RestClient/student-service/src/main/java/com/example/demo/feignclients/AddressFeignClient.java`

### Service platform

- [Eureka registry](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/03.Using-Service-registry-eureka/eureka-server): `03.Using-Service-registry-eureka/eureka-server`
- [Client load balancing](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/04.using-client-side-loadbalancing): `04.using-client-side-loadbalancing`

### Gateway and resilience

- [API gateway](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/05.Using-apigw-part1/api-gateway): `05.Using-apigw-part1/api-gateway`
- [Gateway with Feign](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/05.Using-apigw-with-feign-client/api-gateway): `05.Using-apigw-with-feign-client/api-gateway`
- [Circuit breaker](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/06-Fault-tolerance-with-cb): `06-Fault-tolerance-with-cb`

### Operations

- [Distributed tracing](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/07-distributed-tracing-with-sleuth-and-zipkin): `07-distributed-tracing-with-sleuth-and-zipkin`
- [Config server](https://github.com/javahelper/microservices-with-java-spring-boot-and-spring-cloud/tree/main/08-spring-cloud-config-server/config-server): `08-spring-cloud-config-server/config-server`

### Other components

- **API user**
