/spring-boot-3-microservices

Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes.

Primary LanguageJavaApache License 2.0Apache-2.0

video_spider

中文文档

Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes.

microservices-architecture

Modules

  • Chapter01:Restful接口、持久化、SpringDoc OpenAPI
  • Chapter02:异步通信
    • Chapter02-activemq
    • Chapter02-kafka
    • Chapter02-rabbitmq
    • Chapter02-spring-cloud-stream
  • Chapter03:OpenFeign
  • Chapter04:服务发现 Eureka
  • Chapter05:服务网关 Spring Cloud Gateway
  • Chapter06:配置服务 Spring Cloud Config
  • chapter07: 链路追踪 Zipkin
  • chapter08: 监控 Micrometer、Grafana
  • chapter09: 监控 Micrometer、Grafana、Tempo
  • chapter10: 监控 Micrometer、Grafana、Tempo、Loki
  • chapter11:ELK
  • chapter12 认证服务 Spring Security OAuth2
  • Chapter13:监控服务 Spring Boot Admin
  • Chapter14:Kubernetes
  • Chapter15:Istio
  • chapter16: Service Mesh
  • chapter17: Native

Tech Stack

  • Building Spring Boot REST APIs
  • Creating Aggregated Swagger Documentation at API Gateway
  • Database Persistence using Spring Data JPA, MySQL, Mongodb, Flyway
  • Distributed Tracing using Zipkin
  • Distributed Logging using ELK, Loki
  • Event Driven Async Communication using Spring Kafka, RabbitMQ, ActiveMQ, Spring Cloud Stream
  • Implementing API Gateway using Spring Cloud Gateway
  • Implementing Resiliency using Resilience4j
  • Using WebClient, Declarative HTTP Interfaces to invoke other APIs
  • Local Development Setup using Docker, Docker Compose and Testcontainers
  • Monitoring & Observability using Grafana, Prometheus, Tempo
  • Testing using JUnit 5, RestAssured, Testcontainers, Awaitility, WireMock
  • Deployment to Kubernetes using Kind, Helm

Local Development Setup

  • Install Java 21 and Maven 3. Recommend using SDKMAN.
  • Install Docker. Recommend using OrbStack for Macos.
  • Install IntelliJ IDEA or any of your favorite IDE
  • Install Postman or any REST Client

References

Video:

Code: