Skip to content

backendverse/spring-boot-tracing-using-mdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Spring Boot MDC πŸš€ | Implementing Tracing & Log Correlation in Microservices 🌿

Welcome to Backend Verse! πŸŽ₯
In this tutorial, we explore Spring Boot MDC (Mapped Diagnostic Context) the secret behind distributed tracing, request correlation, and contextual logging in microservices. πŸš€


β–Ά Watch the Tutorial

πŸ“Ί Spring Boot MDC πŸš€ | Implementing Tracing & Log Correlation in Microservices 🌿


🧠 What You’ll Learn

πŸ“Œ What is MDC and why it’s used in Spring Boot
⚑ Setting up MDC for Request & Correlation ID tracking
πŸ”‘ Implementing MDC in Filters and Async Threads
πŸ—οΈ How to propagate context across microservices
πŸ’‘ Real-world tracing setup for scalable systems


🎯 Why Watch This Video?

βœ”οΈ Learn real-world tracing and logging best practices
βœ”οΈ Build debuggable and traceable microservices
βœ”οΈ Improve observability and monitoring in production
βœ”οΈ Perfect for system design & backend interviews


πŸ”§ Tools & Technologies Used

  • Java 17
  • Spring Boot
  • Gradle
  • IntelliJ IDEA
  • Postman
  • Microservices Observability Stack

πŸ”— Example APIs

Below are some sample curl commands you can test directly:

1️⃣ Get User Profile API

curl --location 'http://localhost:8080/profiles?email=alice%20henry'

β–Ά Watch the Tutorials

πŸ“Ί Playlists for Complete Learning:

πŸ‘‰ Spring Boot Series πŸš€

πŸ‘‰ Spring Data JPA Series πŸ’Ύ

πŸ‘‰ Spring Boot Redis Series ⚑

πŸ‘‰ Spring Boot Kafka Series ⚑

πŸ‘‰ Java 8 Series ⚑


πŸ“’ Stay Connected

πŸ‘ Like the video if you found it helpful
πŸ’¬ Drop your questions in the comments
πŸ”” Subscribe to Backend Verse for more Backend tutorials in Hindi


About

Spring Boot MDC πŸš€ | Implementing Tracing & Log Correlation in Microservices 🌿

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages