Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Apache Kafka for Event-Driven Spring Boot Microservices
Bestseller
Role Play
Rating: 4.6 out of 5(2,792 ratings)
20,526 students

Apache Kafka for Event-Driven Spring Boot Microservices

Learn to build and test event-driven Spring Boot Microservices using Apache Kafka.
Last updated 6/2026
English

What you'll learn

  • Apache Kafka for Microservices
  • Create Event-Driven Microservices
  • Work with Kafka CLI
  • Work with Kafka Consumers in Java
  • Run Multiple Kafka Servers in a cluster
  • Work with Kafka Producers in Java
  • Handle and recover from errors
  • Perform Integration Testing of Kafka Producer and Consumer
  • Implement Saga design pattern
  • Configure Kafka Producer to be Idempotent
  • Learn to work with Transactions in Apache Kafka
  • Configure Kafka Consumer to be Idempotent

Course content

23 sections202 lectures14h 15m total length
  • Introduction2:37
  • Welcome from the Instructor1:16
  • What is Microservice?2:55
  • Microservice vs Monolithic application3:20
  • Microservices Communication6:04
  • Would you like an interview question? Topic: What is a Microservice?
  • Event-Driven Architecture with Apache Kafka5:04
  • Apache Kafka for Microservices7:47
  • Apache Kafka for Microservices Quiz
  • Messages and Events in Apache Kafka5:23
  • Kafka Topic and Partitions6:14
  • Ordering of Events in Apache Kafka5:37
  • Quiz: Kafka Topics, Partitions and Messages
  • Interview and overall review of the basics of Apache Kafka
  • Java Development Environment & IntelliJ IDEA Ultimate Edition Licence0:31

Requirements

  • Basic knowledge of Java
  • Basic knowledge of Spring Boot

Description

In this video course, you will learn how to use Apache Kafka to build Event-Driven Spring Boot Microservices.

This course is designed for beginners and will start from the basics of Microservices and Apache Kafka.

You will learn: 

- What is Apache Kafka, and how to work with it using Command Line Interface(CLI),

You will learn how to use Kafka CLI to : 

- Start multiple Apache Kafka servers in a cluster,

- Work with Kafka Topics,

- Work with Kafka Producer to produce messages,

- Work with Kafka Consumer to consume messages.

You will learn how to create a basic Spring Boot Microservice that acts as a Kafka Producer. While working with this Microservice you will learn: 

- How to send Kafka messages synchronously,

- How to send Kafka messages asynchronously,

- How to work with Acknowledgements, Retries, Delivery and Request timeouts.

You will also learn how to create Kafka Consumer Spring Boot Microservice. While creating Consumer Microservice you will learn to: 

- Consume messages from Kafka topic,

- Handle and recover from errors,

- Work with Kafka Dead Letter Topic(DLT),

- Configure multiple consumer microservices to work as a group(Consumer Groups).

- Write Integration tests for Kafka Consumer and Kafka Producer.

- Learn how to implement the Saga design pattern.

All from the very beginning, to help you learn how to create Event-Driven Microservices with Apache Kafka and Spring Boot.


Who this course is for:

  • Java developers interested to learn about Apache Kafka
  • Java developers interested to learn how to create event-driven Microservices with Apache Kafka