Back to Browse

Learning how KAFKA works !!

28 views
Mar 19, 2026
5:43

I just completed a hands-on project to understand how microservices communicate asynchronously. What I built: 📍 Delivery Service: Acts as a Producer, sending real-time location updates. 📩 Apache Kafka: The middleman (Broker) that handles the data stream. 📥 Customer Service: The Consumer that listens and saves every update to an H2 Database. My biggest "Aha!" moment: Realizing that the Delivery Service doesn't need to wait for a database confirmation. It just drops the message in Kafka and moves on. This is how apps like Uber scale to millions of users! Timestamps: 0:00 - Introduction & Architecture Diagram 1:00 - Docker Environment Setup 1:30 - Delivery Service: Producer Logic & Properties 2:35 - Kafka Topic Configuration (Partitions) 3:29 - Customer Service: Consumer & @KafkaListener 4:00 - H2 Database Persistence 04:30 - Live Demo: Postman to H2 Console 5:00 - Key Takeaways for Interviews Github Link - https://github.com/vishalbajpai448/KAKFA_DEMO Youtube - https://www.youtube.com/@VishalBajpaiYT/videos #SpringBoot #ApacheKafka #Microservices #JavaDeveloper #EventDriven #BackendDevelopment #Virtualboard #H2Database #LearningInPublic

Download

0 formats

No download links available.

Learning how KAFKA works !! | NatokHD