Skip to content
UdemyHadoopPaid courseAll LevelsCertificate

Apache Kafka for Beginners - Learn Kafka by Hands-On (Udemy.com)

Deep dive in to Apache Kafka concepts and learn to build Kafka producers/consumers using Java.

Created by: Pragmatic Code School

Last updated February 2026

icon
What you will learn

  • Understand all the Kafka concepts and Kafka core internals.
  • Learn Kafka internals through practice
  • Build Kafka Producer applications using Java
  • Learn the Kafka Producer Techniques for reliable data delivery
  • Build Kafka Consumer applications using Java
  • Advance Kafka Consumer Techniques to handle duplicate processing of records
  • Consumer Rebalance and different techniques to handle them
  • Consumer techniques to seek to a specific offset
  • Learn to build Custom Serializer and Deserializer in Kafka
  • By the end of the course you will have a complete understanding of Apache Kafka and build Kafka consumer applications using Java

How it compares

Against the other 150 rated Udemy courses in Hadoop on CourseDuck:

  • Rating4.6 out of 5higher than 84% of them
  • Reviews1,261#47 of 151 by number of reviews
  • Length4.9 hoursshorter than 61% of them
  • Last updatedFebruary 2026more recently than 85% of them

icon
Course Description

Description:

Learn the fundamentals and advanced concepts of Apache Kafka in this course. This course will give you a good understanding of all the concepts through Hands-On

  • This course will walk you through the Kafka concepts step by step

  • All the Kafka concepts will be taught through Hands-On

  • This course will  increase your technical expertise in Kafka

  • This course will give you good exposure to build Kafka Client applications using Java

  • This course will be an eyeopener for people who think Kafka is a complex system and you will find yourself in a better place after you complete this course

  • This course will transfer you from no Kafka experience to an experienced Kafka user.

Course Overview:

Getting Started with Kafka

  • In this section, I will give you all a quick introduction to Apache Kafka, terminologies and different client APIs that are part of Kafka

Download and Install Kafka

  • In this section, we will download the Kafka distribution from the Kafka Website.

Understanding Kafka Components and its Internals - (Theory + Hands-On)

In this section, we will explore the Kafka internals from a theoretical perspective followed by hands-on exploring the Kafka internals.

  • Learn about the Topics and Partitions in Kafka

  • Setup a Local Kafka Cluster with Multiple Brokers

  • Producer/Consumer messages in the Kafka Cluster

  • Learn about Consumer Offsets and Consumer Groups

  • Commit Log and Retention Policy

  • Learn about Kafka Load Distribution and Fault Tolerance and Robustness

Kafka Producer API - Hands-On

In this section, we will learn about building the Kafka Producer to producer messages into Kafka using the producer API

  • Setting up the base-project for Producer

  • Understand how the producer API works

  • Produce messages to the Kafka topic using the Synchronous/Asynchronous approach

  • Understand how Kafka producer API works behind the scenes

Kafka Producer API - Guaranteed Message Delivery Configurations

In this lecture, we will learn about the different configurations that guarantee message delivery into Kafka.

  • Explore some of the producer API Configurations

  • Configuring the acks and min.insync.replicas for guaranteed message delivery

  • Override the retries and retry-back-off-ms value\

Kafka Consumer API - Hands On

In this section, we will learn about building Kafka consumers to read messages from Kafka using the Consumer API.

  • Setting up the base-project for Consumers

  • Consuming Messages using Consumer API - poll() loop

  • Build Kafka Consumer using the Consumer API

  • auto.offset.reset - earliest vs latest

Consumer Groups & Consumer Rebalance

In this section, we will learn about Consumer Groups and Consumer rebalance.

  • Scaling the Consumer using Consumer Groups

  • Consumer Rebalance

  • Consumer Rebalance & max-poll-interval-ms

Consumer Offsets - Default and Manual Offset Management - Hands-On

  • Committing Offsets - Default Offset Commit Strategy

  • Manually Committing Offsets

  • Committing Offsets Synchronously - using commitSync()

  • Committing Offsets Asynchronously - using commitAsync()

  • Committing Specific Offsets - using CommitSync()

By the end of this, you will have a complete understanding of how Apache Kafka works and how to build Kafka client applications using Producer and Consumer API.

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Pragmatic Code School

Pragmatic code school's primary goal is to provide technical training through a practical approach.

The courses are completely hands-on oriented and cover different techniques and patterns that are used in enterprise development standards

Each course explains the concepts by building applications which will give an experience of building a real enterprise application.

-------------------------

COURSES ROADMAP:  |

-------------------------

Course roadmap to enroll in the Kafka Courses.

For Experienced Kafka Developers:

1. Apache Kafka for Developers using Spring Boot[LatestEdition]

2. Kafka Streams API For Developers using Java/SpringBoot 3.X

3. Kafka for Developers - Data Contracts using Schema Registry

For Kafka Beginners:

1. Apache Kafka for Beginners - Learn Kafka by Hands-On

2. Apache Kafka for Developers using Spring Boot[LatestEdition]

3. Kafka Streams API For Developers using Java/SpringBoot 3.X

4. Kafka for Developers - Data Contracts using Schema Registry


Course roadmap to enroll in the Modern Java Courses.

1. Modern Java - Learn Java 8 features by coding it

2. Multithreading,Parallel & Asynchronous Coding in Modern Java


icon
More courses by Pragmatic Code School

$12.99

$11.99

$10.99

$74.99

icon
More Hadoop courses

$11.99

$12.99

$14.99

$94.99

$10.99

$39.99

icon
Reviews

4.6

1,261 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Roberto Perez Pelayo on 9/20/2025

This is course is a gentle introduction to the world of Apache Kafka. Do not get discouraged if the Kafka CLI examples in the course still use Zookeeper, it is easy to configure and run newer Kafka versions. Once you have completed the section using the CLI the rest of the course goes really fast with the coding practices. You'll enjoy and learn with all the examples and explanations that Dilip has provided. I just wish to see this course updated to the latest Kafka version, anyhow, 100% recommended to start the Kafka journey.

By Anish B. on 9/19/2021

Hey Dilip, This is actually the course that I was looking for. Personally, I loved this course. You explained all the Kafka core that is needed for Java Developers. All the things were clean and clear about Kafka. Thanks for making this course. :)

By Jovan Spasic on 2/3/2021

This is a very good introduction to Kafka Producer and Consumer APIs. Highly recommended for programmers getting started with Kafka. I would say that it would be good to get some intuition about Kafka before taking this course by using various commands and console producer/consumer. I'm looking forward to taking Dilip's other courses.

By Matthew Grimm on 10/3/2020

So far, good high level overview

By Uchenm Ming Chen on 9/6/2020

very good tutorial with detailed explaination on theory and real world code. tks

By Gabriel Bourgetel on 8/21/2020

The content is very good.

By Amarendra Yadav on 6/15/2020

Good Explanation.

By Rahul Patidar on 5/10/2020

Lot of contents are removed in second edition just to make money

By Jayakeerthi Lingusgur on 4/18/2020

IT'S GOOD BUT IN REAL TIME , MOST OF THE FIRMS USE CONFLUENT. SO, WOULD RECOMMEND TO HAVE CONFLUENT BASED SESSIONS RATHER THAN APACHE KAFKA

By Nouroudine Gueye on 4/12/2020

Great Dilip you explain very well. I'm very happy to by your course you again. See you in apache camel and SpringBoot.

By SMRUTIPRAKASH NAYAK on 4/10/2020

At End of session few videos explanation is so first , not able to understand and no clear explanation. it could be better if instructor spend some more time for explain videos.
please dont remove any video you can update those if it became depricated. kindly request

By Estrella Richardson on 3/15/2020

Very clear and concise information. Easy to follow and easy to understand. Just enough background information to provide a basis for understanding the subject.

Showing 12 of 147 reviews

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 92 / 100