Spring Cloud와 쿠버네티스를 이용한 '커피 사이렌 오더' 마이크로서비스 프로젝트
https://www.notion.so/MSA-0872b4efb7204ceb9b5dc3193b4c5618
- Spring Cloud Gateway
- Spring Cloud Netflix Eureka
- Spring MVC, JPA : User-service, Counter-service, Store-service
- Spring Security, JWT : Config-service
- Kafka, Zookeeper : 서비스 간 메시지 produce, consume
- Kafka UI : Kafka 동작 시각화
- RabbitMQ : Spring Config 설정 Message Bus
- Docker : RabbitMQ, Prometheus, Grafana
- Docker-Compose : Kafka, Zookeeper, Kafka-UI
- Kubernetes
- Deployment : apigateway-service, config-service, user-service, counter-service, store-service, frontend, mysql, zipkin
- Service
- ClusterIP : user-service, counter-service, store-service
- NodePort : apigateway-service, config-service, discovery-service, frontend, mysql-svc, zipkin
- Persistent Volume : MySQL
- Spring Cloud Gateway
- H2 Database : User-service, Store-service
- MySQL + PV, PVC : Counter-service
-
구성
- Spring Cloud Eureka
-
분산 추적
- Zipkin
- CircuitBreaker
- Resilence4J
-
Configuration
- Spring Cloud Config
- Private Git
- Spring Cloud Config
-
서비스간 통신
- FeignClient
- Grafana
- Prometheus