Udemyallen

Kafka Event Driven Microservices With Java + Spring [Part-2]

Master Apache Kafka & Spring Boot! Learn architectural patterns like Saga, Choreography, and more for robust event-driven systems. Build scalable, resilient applications.

4.6(95)
2,065students
17h 56m
Certificate
Vinoth Selvaraj
Vinoth SelvarajPrincipal Engineer

Course Content

Kafka Event Driven Microservices With Java + Spring [Part-2] is an all-levels Udemy course taught by Vinoth Selvaraj. It runs 17h 56m, is taught in English, and includes a certificate of completion. Learners rate it 4.6 out of 5 from 95 reviews, with 2,065 students enrolled. It is a paid course, last updated October 2025.

This course is Part 2 of a two-part series. Enrollment in Part 1 is required before enrolling in Part 2. This advanced course is tailored for senior engineers and staff-level developers seeking expertise in Event-Driven Microservices architecture. You'll master key patterns and technologies, including Spring Cloud Stream, Kafka, and Java Reactive Programming.

By the end of this course, you'll have a strong understanding and practical skills in:

  • Saga Choreography Pattern: Understand how services collaborate through events to achieve distributed transactions.
  • Saga Orchestrator Pattern: Learn to coordinate complex workflows across microservices using a central orchestrator.
  • Transactional Outbox Pattern: Implement reliable message delivery to Kafka topics using a database-backed outbox table.
  • Fan-Out / Fan-In: Explore strategies for distributing messages to multiple subscribers or aggregating messages from various sources.
  • Content-Based Routing / Dynamic Routing: Implement flexible message routing based on message content for adaptable microservices communication.

Here's a detailed look at what you'll learn:

Spring Cloud Stream for Event-Driven Microservices:

  • Get hands-on experience with Spring Cloud Stream, a powerful framework for building Event-Driven Microservices.
  • Learn to utilize the Reactive Kafka binder for efficient message handling.
  • Practice producing, consuming, processing, and acknowledging messages using Java Reactive and functional interfaces.
  • Explore integration testing with Embedded Kafka for streamlined development.

Stream Bridge: Flexible Message Routing:

  • Discover Stream Bridge, a valuable utility for sending messages to Kafka Topics.
  • Implement content-based routing to direct messages to the appropriate services.
  • Achieve dynamic routing capabilities for adaptable microservices communication.
  • Utilize Stream Bridge as a Dead-Letter-Topic producer for robust error handling.

Implementing the Saga Pattern for Complex Workflows:

  • Design and implement complex applications using multiple microservices.
  • Master the Saga Pattern for managing distributed transactions across services.
  • Explore both Saga Orchestrator and Saga Choreography styles.
  • Understand the role of a central coordinator (Orchestrator) or event-driven collaboration (Choreography) in Saga implementations.

Transactional Outbox Pattern for Reliable Messaging:

  • Implement the Transactional Outbox Pattern to ensure reliable message delivery to Kafka.
  • Utilize an 'Outbox' table as a proxy Kafka topic.
  • Ensure messages are reliably sent by inserting them into the Outbox table as part of a database transaction.
  • Implement periodic querying of the Outbox table to guarantee message delivery and prevent duplicate sending.
$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

5.0(1,199)
1h 14m
all
5.0(2)
31m
beginner
5.0(41)
6h 28m
all
5.0(28)
11h 3m
intermediate