Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Kafka Setup Saga Choreography with Kafka + Spring Boot | Distributed Transactions

Автор: Lazy Programmer

Загружено: 2025-08-26

Просмотров: 163

Описание:

In this video, we’ll dive deep into the Saga Pattern (Choreography Implementation) using Spring Boot + Kafka.

Github Repo: https://github.com/eramanmalhi/saga-c...

🔹 We’ll start with understanding the high-level flow of our distributed system.
🔹 Next, we’ll explore the low-level design with a complete code walkthrough.
🔹 Finally, before the demo, I’ll show you how to set up Kafka locally and create the required topics.

👉 If you are new to the Saga Pattern, I recommend watching my previous video for a detailed introduction (linked in the top right corner).

🚀 What’s Covered in this Part:

Multi-module Maven project structure

order-service → handles order creation & status tracking

inventory-service → manages product stock & availability

payment-service → simulates payment processing

common-utils → shared Kafka events & constants

End-to-end flow of the Saga using local transactions:

Order creation → OrderCreated event

Inventory stock check → StockConfirmed / StockUnavailable event

Payment processing → PaymentCompleted / PaymentFailed event

Rollback & compensation logic with Kafka topics

Step-by-step Kafka setup on local machine

Code walkthrough & explanation of event publishing and consumption

By the end of this video, you’ll clearly understand how services communicate asynchronously using Kafka in a Saga Choreography pattern.

🔔 Don’t forget to Like, Share & Subscribe for the upcoming parts where we’ll add more services like Notification & Shipping to extend this Saga flow.

⚡ Stay tuned and keep practicing — remember, hands-on coding is the best way to learn!

#SpringBoot #Kafka #Microservices #SagaPattern #choreography
#DistributedSystems #EventualConsistency #Microservices #3PC #Transactions #Consistency #SoftwareArchitecture #DevOps #SystemDesign
To check out more on the tutorials Topic wise you can follow below links
eventual consistency, strong consistency, distributed transactions, microservices architecture, kafka, outbox pattern, async messaging, 2PC, 3PC, consistency models, cap theorem, saga pattern, replication lag, message brokers, idempotent operations, distributed systems tutorial, microservices consistency, high availability, fault tolerance, data synchronization
Links:

Please do checkout other tutorial videos also if required:

Spring Framework:    • Spring Framework  

DevOps:    • DevOps  

Java Design Patterns:    • Design Patterns  

Java 8 Features:    • Java 8  

Core Java Complete Tutorial:    • Core Java Complete Guide  

Interview Preparation for Java:    • Interview Preparation Java  

Python:    • Python  

Linux:    • Linux  

Please do LIKE, Share and SUBSCRIBE

Thank You
Database Sharding, Sharding Explained, Data Hotspot, Optimal Sharding Key, Database Scaling, Cardinality in Sharding, Frequency in Sharding, Monotonic Change in Sharding, Database Architecture, System Design, Scalable Databases, Backend Architecture, Sharding Key Selection, Avoiding Data Hotspots, Hash Based Sharding, Database Performance, Sharding Strategies, Distributed Databases, High Scalability Databases, Backend Engineering, System Design for Beginners, Database Optimization, Sharding Mistakes, Database Partitioning, Black Friday Scaling, Auto Increment ID Sharding, Range Based Sharding, Hash Based Distribution, Composite Sharding Key, Handling Hotspots, Microservices Database Design

Kafka Setup Saga Choreography with Kafka + Spring Boot | Distributed Transactions

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Demo Saga Choreography with Kafka + Spring Boot + Postman + KafkaDrop | Distributed Transactions

Demo Saga Choreography with Kafka + Spring Boot + Postman + KafkaDrop | Distributed Transactions

Eventual Consistency - What, How & When To Use | Distributed System | Microservices

Eventual Consistency - What, How & When To Use | Distributed System | Microservices

Creating a State Machine Saga With MassTransit (Orchestrated Saga)

Creating a State Machine Saga With MassTransit (Orchestrated Saga)

Distributed Transactions with 2-Phase Commit | Data Consistency in Microservices

Distributed Transactions with 2-Phase Commit | Data Consistency in Microservices

Part 4: Design Patterns in a Microservice Architecture

Part 4: Design Patterns in a Microservice Architecture

Apache Kafka Tutorial with Spring Boot Reactive & WebFlux | Kafka Tutorial

Apache Kafka Tutorial with Spring Boot Reactive & WebFlux | Kafka Tutorial

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

Если Вам Задают Эти 5 Вопросов — Вами Пытаются Манипулировать - Карл Юнг

Если Вам Задают Эти 5 Вопросов — Вами Пытаются Манипулировать - Карл Юнг

Современная САНТЕХНИКА | ЧТО, ДЛЯ ЧЕГО и СКОЛЬКО СТОИТ?

Современная САНТЕХНИКА | ЧТО, ДЛЯ ЧЕГО и СКОЛЬКО СТОИТ?

Implementation Saga Choreography with Kafka + Spring Boot | Distributed Transactions

Implementation Saga Choreography with Kafka + Spring Boot | Distributed Transactions

Kafka Tutorial for Beginners | Everything you need to get started

Kafka Tutorial for Beginners | Everything you need to get started

Решаю SQL задачи из Сбер и VK на Junior и Middle

Решаю SQL задачи из Сбер и VK на Junior и Middle

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

The Saga Pattern in Microservices | Orchestration VS Choreography | Distributed Transactions

The Saga Pattern in Microservices | Orchestration VS Choreography | Distributed Transactions

The Outbox Pattern is seriously underrated...

The Outbox Pattern is seriously underrated...

Как устроена База Данных? Кластеры, индексы, схемы, ограничения

Как устроена База Данных? Кластеры, индексы, схемы, ограничения

Secrets to Microservices Communication | How Microservices Talk to Each Other | Sync VS Async

Secrets to Microservices Communication | How Microservices Talk to Each Other | Sync VS Async

Как WeChat стал национальным мессенджером в Китае | Скоро в России

Как WeChat стал национальным мессенджером в Китае | Скоро в России

«Крупнейшая утечка данных в истории»

«Крупнейшая утечка данных в истории»

Rate Limiting & Throttling | Stop DDoS and Bad Code | How #Netflix Handles Traffic in #Microservices

Rate Limiting & Throttling | Stop DDoS and Bad Code | How #Netflix Handles Traffic in #Microservices

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]