Notification API Service Implemented | Global Exception, Auth Filter & Context Propagation | Kafka Microservice Part-1
Welcome to BackendVerse! 🌿
In this video, we’re building the Notification API Service — the first core microservice in our Scalable Notification System using Spring Boot + Kafka. 🚀
Ever wondered how to structure your API service for clean architecture, context propagation, and exception handling?
That’s exactly what you’ll learn today! 🔥
🧠 What You’ll Learn in This Video
📌 Setting up Notification API Service (Spring Boot + Kafka)
📌 Implementing a Generic Global Exception Handler
📌 Configuring Notification Context using ThreadLocal
📌 Adding Authentication Filter for Context Propagation
📌 Designing Template Entity, Request & Response Models
📌 Clean package structure for scalable microservices
🎯 Why Watch This Video?
✔️ Learn real-world Spring Boot microservice patterns
✔️ Handle global exceptions cleanly with abstraction
✔️ Maintain common request context across layers
✔️ Prepare your system for high scalability and observability
🧩 Tech Stack
Gradle
Intellij
Java 21
Spring Boot 3
Apache Kafka
Redis
MongoDB
Docker
Docker Compose
Time Stamps:
00:00 – Intro & Overview of Notification API Service
00:40 – Video Agenda Breakdown
03:10 – Creating Project Packages
05:45 – Implementing Global Exception Handler
17:49 – Configuring Notification Context with Thread Local
20:50 – Setting Up Auth Filter for Context Data
28:00 – Designing Entities & Request/Response
37:12 – Conclusion & Key Takeaways
👉 Watch the full Spring Boot series here: • Spring Boot Tutorial Series in Hindi 🌿 — S...
👉 Watch the full Spring Data JPA series here: • Spring Data JPA Mastery 🌿 | Complete Tutor...
👉 Watch the full Spring Boot Redis series here: • Spring Boot with Redis 🔥 | Caching, @Cache...
👉 Watch the full Apache Kafka series here: • Kafka Tutorials in Hindi 🔥| Beginners to P...
👉 Watch the full Java 8 series here: • Java 8 full course in Hindi
👉 Watch the full Spring Boot Http Client series here: • Master HTTP Clients in Spring Boot 🚀 | Res...
🔗 GitHub Code
👉 https://github.com/backendverse/notif...
📢 Stay Connected
👍 Like the video if you found it helpful
💬 Drop your questions in the comments
🔔 Subscribe to Backend Verse for more Java & Spring Boot tutorials in Hindi
#springboot #microservices #kafka #restapis #backendverse #spring #springboottutorial #springbootproject #pubsub #publisher #consumer #kafkaarchitecture #kafkabeginners #kafka