Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Event driven Microservices using Spring Boot Apache Kafka
Rating: 5.0 out of 5(3 ratings)
31 students

Event driven Microservices using Spring Boot Apache Kafka

Event driven microservice architecture | Kafka Theory| Kafka practical using spring boot app| Use Kafka in Microservices
Created byAnup Bhagwat
Last updated 2/2025
English
English [Auto],

What you'll learn

  • Kafka theory with all important concepts in it
  • End to end implementation of all concepts in Kafka using spring boot
  • Implementation of all kafka concepts within Microservices architecture
  • How Kafka handles asynchronous communication within microservices world
  • Also you would be able to see Kafka in action within our microservices architecture in real time

Course content

3 sections • 30 lectures • 2h 22m total length
  • 001.Microservices Course Recap2:22

    Recap of the Microservices course part 1 (Springboot Microservices |Practical |Hands on coding - Part1)

  • 002.Kafka theory2:30

    Explore Kafka theory and terminology, including topics, partitions, offsets, clusters and brokers, replication, and the central Zookeeper service, then learn producers, consumers, and consumer groups for asynchronous microservice communication.

  • 003.Kafka Architecture5:30

    Explore the high level kafka architecture, including producers generating events, a distributed cluster of brokers, topics for data, and fault-tolerant, scalable real-time consumption by microservices and monitoring tools.

  • 004.Kafka Use Cases and Common Terminologies4:58

    Discover Kafka use cases like location tracking dashboards, and learn core terminologies: topics, partitions, offsets, brokers, replication, producers, consumers, and Zookeeper.

  • 005.Topics, Partitions and Offsets4:08

    Explore how Kafka topics are divided into partitions with per-partition offsets, data immutability, and a default one-week retention, plus how keys map to partitions by hashing.

  • 006.Kafka Cluster and brokers3:25

    Explore Kafka clusters and brokers, with topics and partitions spread across data centers, regions, or cloud environments. Connect through a bootstrap broker for cluster-wide access with at least three brokers.

  • 007.Topic Replication4:45

    This lecture explains topic replication in Kafka, showing how replication factor two to three copies partitions across brokers, with one leader and in-sync replicas, ensuring availability during broker failures.

  • 008. Zookeeper2:19

    Zookeeper acts as the central manager for the distributed Kafka cluster, coordinating brokers, managing leader elections when a broker goes down, and sending notifications on topic creation, changes, or deletion.

  • 009.Kafka Producers3:59

    Producers write data to topics and route to the correct broker and partition. They handle acknowledgement and key-based routing, with null keys using round-robin and hashed keys directing to partitions.

  • 010.Kafka Consumers and consumer groups5:02

    Learn how Kafka consumers read from topics and partitions, how consumer groups balance workload across partitions, and how brokers, offsets, and in-sync replicas ensure reliable data processing.

Requirements

  • Better to have knowledge of IntelliJ editor
  • Need prior knowledge of Spring boot, java programming , microservices .
  • Also it would be better if you have gone through my Part-1 course on microservices.

Description

This course will give you in depth hands on practical experience of using Kafka within the microservices world for enabling asynchronous communication.

I would suggest this course who is aspiring to learn all concepts related to Kafka and become expert in creating microservices using spring boot with Apache Kafka.

Kafka is a powerful, distributed event streaming platform that can handle real-time data with high throughput, fault tolerance, and scalability. It’s widely used in various industries for building data pipelines, stream processing applications, and event-driven architectures. Kafka's architecture, message retention, and ability to scale horizontally make it suitable for a variety of use cases, from log aggregation to microservices communication.


Apache Kafka for Spring Boot Microservices Developers course is divided in below 3 main sections -


Section 1  (Theory) - This section covers theory concepts related to Kafka. This will give kick start to your Kafka journey

Section 2 (Practical) - In this section, we have implemented all the concepts learned in practical way. We have created a Spring boot application to implement all these concepts practically.

Section 3 (Practical) - We will implement Kafka within our microservices architecture which was developed in the Spring boot Microservices |Practical |Hands on coding - Part1 course.


Theory

  • Kafka architecture overview (High level)

  • Kafka key terminologies & use cases

  • Kafka Topics, Partitions and Offsets

  • Kafka Cluster and brokers

  • Topic Replication

  • Zookeeper

  • Producers

  • Consumers & consumer groups

Practical

  • Setup Kafka broker locally

  • Kafka topic creation and send messages

  • Spring boot project setup

  • Topic configuration

  • Producer Configuration

  • Kafka send messages

  • Consumer to consume messages published

  • Consumer Configuration

  • Kafka listeners

  • Kafka Rest Controller

  • Kafka Sending Custom Objects

  • Kafka documentation

Implementation of Kafka in microservice architecture

  • Kafka implementation in microservice architecture

  • Create Zookeeper and Kafka docker containers

  • Producer configuration for customer service

  • Send notifications on to the topic

  • Consumer configuration for notification service

  • Consume notifications from topic

  • Running all micro services

  • Kafka in action


Who this course is for:

  • Learn kafka from scratch
  • Practically implement kafka using spring boot
  • Students who are keen to learn kafka using spring boot in microservices
  • Beginners to advanced students who wants to build their knowledge on Apache Kafka