Post

Spring Boot Microservice Invoice App

Spring Boot Microservice Invoice App

Implementation Details

πŸ”— Github Repo

πŸš€ Framework

  • Spring Boot

πŸ”Œ APIs

  • Spring Boot

🌍 Architecture

  • Microservice

πŸ–§ Calling APIs

  • Open Feign Client

πŸ’Ύ Database Integration

  • JPA

πŸ”„ Database Migration

  • Flyway

πŸ“Š Logging and Centralized Logging solution

  • ELK Stack

⚠️ Exception handling

  • Spring Boot

πŸ•΅οΈβ€β™‚οΈ Distributed Tracing and Monitoring

  • Micrometer

πŸ“ˆ Application Monitoring

  • Spring Boot, Prometheus, Grafana

🐳 Containerization

  • Docker, Dockerfiles

πŸ“œ API Specification

  • OpenAPI (Swagger)

πŸŽ‰ Event Driven

  • Kafka

🧠 Caching

  • Spring Boot Caching
  • Caffein Caching

πŸ›‘οΈ Reliability

  • Bulkhead and Circuit Breaker in API Gateway
  • Retry in Open Feign
  • Spring Retry in Kafka template Send

🌐 Source

πŸ“‚ Postman Collection

🐳 Docker Start

  • docker-compose up -d
  • docker-compose -f docker-compose.yml -f extensions/fleet/fleet-compose.yml -f extensions/fleet/agent-apmserver-compose.yml up -d

Project Structure

demo-project

Keycloak

image

Elastic

image

Prometheus

image

Grafana

image

Open Api Swagger

image

Kafdrop

image

This post is licensed under CC BY 4.0 by the author.