HOME > Development > Apache Kafka for Developers using Spring Boot[LatestEdition]

Apache Kafka for Developers using Spring Boot[LatestEdition]

  • Development
  • May 12, 2025
SynopsisApache Kafka for Developers using Spring Boot[LatestEdition],...
Apache Kafka for Developers using Spring Boot[LatestEdition]  No.1

Apache Kafka for Developers using Spring Boot[LatestEdition], available at $84.99, has an average rating of 4.51, with 163 lectures, based on 5115 reviews, and has 36367 subscribers.

You will learn about Apache Kafka and its Internals Build Enterprise Standard Kafka Client Applications using Spring Boot Writing Unit Tests using JUnit Writing Integration tests using JUnit and Embedded Kafka Build End to End application using Kafka Producer/Consumer and Spring Boot This course is ideal for individuals who are Java/Spring Developers who would like to build Producers/Consumers using Apache Kafka or Anyone willing to learn about Apache Kafka and implement using SpringBoot It is particularly useful for Java/Spring Developers who would like to build Producers/Consumers using Apache Kafka or Anyone willing to learn about Apache Kafka and implement using SpringBoot.

Enroll now: Apache Kafka for Developers using Spring Boot[LatestEdition]

Summary

Title: Apache Kafka for Developers using Spring Boot[LatestEdition]

Price: $84.99

Average Rating: 4.51

Number of Lectures: 163

Number of Published Lectures: 163

Number of Curriculum Items: 165

Number of Published Curriculum Objects: 165

Original Price: ?6,900

Quality Status: approved

Status: Live

What You Will Learn

  • Apache Kafka and its Internals
  • Build Enterprise Standard Kafka Client Applications using Spring Boot
  • Writing Unit Tests using JUnit
  • Writing Integration tests using JUnit and Embedded Kafka
  • Build End to End application using Kafka Producer/Consumer and Spring Boot
  • Who Should Attend

  • Java/Spring Developers who would like to build Producers/Consumers using Apache Kafka
  • Anyone willing to learn about Apache Kafka and implement using SpringBoot
  • Target Audiences

  • Java/Spring Developers who would like to build Producers/Consumers using Apache Kafka
  • Anyone willing to learn about Apache Kafka and implement using SpringBoot
  • This course is structured to give you a theoretical and coding experience with Apache Kafka using SpringBoot. This course is targeted for developers who would like to build enterprise standard  Kafka Client applications using SpringBoot.

    If you are looking forward to learning the below-listed things:

  • Use cases where Kafka fits really well

  • Internals of Kafka and how it works

  • Built Enterprise StandardKafka Client Applications using Producer/Consumer API using Spring Boot

  • Unit/Integration Tests for the Kafka Client Applications

  • Then this is the right course for you. This is a pure hands-on oriented course where you will be learning the concepts through code.

    By the end of this course, you will have a complete understanding of coding and implementing Kafka Clients using SpringBoot with Producer/Consumer API.

    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

  • Application OverView

  • This section covers the application that we are going to build as part of this course.

  • Build SpringBoot Kafka Producer – Hands-On

    In this section, we will learn about building a Kafka Producer using Spring Boot.

  • Build RestAPI through which the events can be posted into the application from the outside world

  • Explore KafkaTemplate to publish the data into the Kafka Topic

  • Learn different approaches to produce the message into the Kafka

  • Learn to publish the Kafka Record using Headers

  • Integration Testing using JUnit5 – Hands-On

    In this section, we will learn about different approaches to writing Integration tests using Embedded Kafka.

  • Write Integration test cases to interact with the API using JUnit5

  • Write Integration test cases to interact with Embedded Kafka using JUnit5

  • Unit Testing using JUnit5- Hands-On

    In this section, we will learn about different approaches to writing unit tests Kafka Producer.

  • Write Unit Tests to the controller layer using @WebMVC annotation and MockMVC

  • Add the validations to the request payload in the endpoint

  • Write Custom Error Handler for different response codes

  • Kafka Producer – Sending Message With Key – Hands-On

    In this section, we will learn about sending the record to Kafka Topic with Key.

    Kafka Producer – Important Configurations

    In this section, we will learn about different key configurations to consider when it comes to reliable message delivery to Kafka

    Build SpringBoot Kafka Consumer – Hands-On

    In this section, we will learn about building a Kafka Consumer using Spring Boot.

  • Set up the base consumer project library-events consumer

  • Learn about different Spring Kafka Terminologies which are necessary to configure a Kafka Consumer

  • Learn about how to configure a Kafka Consumer using the @KafkListener Annotation

  • Learn about how “Spring Boot Auto Configuration works behind the scenes for Kafka Consumer”

  • Consumer Groups and Consumer Offset Management- Hands-On

    In this section, we will code and learn about consumer groups and offset management.

  • Demonstration how Consumer Groups plays a vital role when it comes to scalable message consumption and consumer rebalance

  • Learn about the Default consumer offset management by Kafka

  • Learn about how consumer offset can be manually managed from the application

  • Demonstration of how to achieve scalable message consumption by increasing the concurrency level to greater than 1

  • Persisting Library Events in DB – Using H2 InMemory DataBase

    In this section, we will code and learn about integrating the DB layer into the library-events-consumer using Spring JPA.

  • Configuring the H2 In-Memory DB

  • Create LibraryEvent and Book Entity

  • Build Service Layer to process LibraryEvent – ADD Event Type

  • Build Service Layer to process LibraryEvent – MODIFY Event Type

  • Integration Testing using Embedded Kafka – Kafka Consumer

    In this section, we will code and learn to write the Integration tests for the Kafka Consumer.

  • Configure Embedded Kafka for Integration Tests

  • Write the Integration test for posting a “NEW” LibraryEvent

  • Write the Integration test for posting an “UPDATE” LibraryEvent

  • Integration Tests for Real Databases using TestContainers

  • Error Handling, Retry and Recovery – Kafka Consumers

    In this section, we will learn about the different error handling techniques that are available for Kafka Consumer.

  • Custom Error Handler

  • Retry in Kafka Consumer

  • Retry SpecificExceptions using Custom RetryPolicy

  • Recovery in Kafka Consumer

  • Handling Recovery in Kafka Consumer

  • Error Handling, Retry/Recovery – Kafka Producer

  • Error Handling in Kafka Producer

  • Retry in Kafka Producer – Broker Not Available

  • Retry in Kafka Producer – Min.in.sync.replicas

  • Retain/Recover Failed Records in Kafka Producer

  • By the end of this you will have a complete understand and knowledge of building enterprise standard Kafka Consumers and Producers using Spring Bootwith the Unit and Integration testsusing EmbeddedKafka.

    Course Curriculum

    Chapter 1: Getting Started With the Course

    Lecture 1: Course Introduction & Objectives

    Lecture 2: Pre-Requesities

    Chapter 2: Course Slides

    Lecture 1: Course Slides

    Chapter 3: Getting Started with Kafka

    Lecture 1: Introduction to Kafka

    Lecture 2: Kafka Terminologies and Client APIs

    Chapter 4: Understanding Kafka Components and its Internals – (Theory + Hands On)

    Lecture 1: Kafka Topics and Partitions – Theory

    Lecture 2: SetUp a Zookeeper/Kafka Broker in Local

    Lecture 3: Create Topic, Produce and Consume Messages using the CLI

    Lecture 4: Produce and Consume Messages with Key

    Lecture 5: Consumer Offsets

    Lecture 6: Consumer Groups

    Lecture 7: Commit Log and Retention Policy

    Lecture 8: Kafka as a Distributed Streaming System

    Lecture 9: Setting up a Kafka Cluster in Local with 3 Kafka Brokers

    Lecture 10: How Kafka Cluster distributes the Client Requests ? – Leader/Follower

    Lecture 11: How Kafka handles Data Loss ? – Replication and In-Sync-Replica(ISR)

    Lecture 12: Configuring min.insync.replicas

    Chapter 5: Application Overview

    Lecture 1: Overview of the application – Library Inventory

    Chapter 6: Source Code for this Course

    Lecture 1: Source Code

    Chapter 7: Build SpringBoot Kafka Producer – Hands On

    Lecture 1: Setting up the Base project for Library Event Kafka producer

    Lecture 2: Build the Library Event Domain

    Lecture 3: Create the POST endpoint /libraryevent

    Lecture 4: Introduction to Spring KafkaTemplate to Produce Messages

    Lecture 5: Configure KafkaTemplate using SpringBoot Profiles – application.yml

    Lecture 6: How Kafka SpringBoot AutoConfiguration Works? – Kafka Producer

    Lecture 7: AutoCreate TOPIC using KafkaAdmin

    Lecture 8: Build LibraryEvents Producer using KafkaTemplate – Approach1- Part1

    Lecture 9: Build LibraryEvents Producer using KafkaTemplate – Approach1- Part2

    Lecture 10: LibraryEvents Producer API – Behind the Scenes

    Lecture 11: Build LibraryEvents Producer using KafkaTemplate – Approach 2

    Lecture 12: Build LibraryEvents Producer using KafkaTemplate – Approach3

    Lecture 13: Sending KafkaRecord With Headers using KafkaTemplate

    Chapter 8: Integration Testing using JUnit5 – Hands On

    Lecture 1: Introduction to Automates Tests

    Lecture 2: Integration Test for POST endpoint – /v1/libraryevent – Part 1

    Lecture 3: Integration Test for POST endpoint – /v1/libraryevent – Part 2

    Lecture 4: Embedded Kafka – Introduction , Configure and Integrate in JUnit

    Lecture 5: Integrate Kafka Consumer in JUnit and Consume the record

    Chapter 9: Unit Testing using JUnit5- Hands On

    Lecture 1: Introduction to Unit Testing

    Lecture 2: Unit Test POST /libraryevent endpoint using MockMVC

    Lecture 3: Adding Validations to the LibraryEvent Payload

    Lecture 4: Custom ErrorMessages using ControllerAdvice – Handling 4xx ClientErrors

    Chapter 10: Kafka Producer – Sending Message With Key – Hands On

    Lecture 1: Create the PUT endpoint – /libraryEvent

    Chapter 11: Kafka Producer – Important Configurations

    Lecture 1: Kafka Producer – Important Configurations

    Lecture 2: Override the retry and retry.backoff.ms – Hands On

    Chapter 12: Build SpringBoot Kafka Consumer – Hands On

    Lecture 1: Set Up the Library Events Consumer Base project

    Lecture 2: Introducing Spring Kafka Consumer

    Lecture 3: Configure Kafka Consumer using SpringBoot Profiles – application.yml

    Lecture 4: Build Kafka Consumer using @KafkaListener Annotation

    Lecture 5: How Spring Boot AutoConfiguration Works ? – Kafka Consumer

    Chapter 13: Consumer Groups and Consumer Offset Management- Hands On

    Lecture 1: Consumer Groups and Rebalance- Hands On

    Lecture 2: Default Consumer Offset Management in Spring Kafka – Hands On

    Lecture 3: Manual Consumer Offset Management – Hands On

    Lecture 4: Concurrent Consumers – Hands On

    Chapter 14: Persisting Library Events in DB – Using H2 InMemory DataBase

    Lecture 1: Configuring the H2 In-Memory DB

    Lecture 2: Create LibraryEvent and Book Entity

    Lecture 3: Build Service Layer to process LibraryEvent – ADD Event Type

    Lecture 4: Build Service Layer to process LibraryEvent – MODIFY Event Type

    Chapter 15: Integration Testing using Embedded Kafka – Kafka Consumer

    Lecture 1: Configure Embedded Kafka for Integration Tests

    Lecture 2: Write the Integration test for posting a NEW LibraryEvent

    Lecture 3: Write the Integration test for posting a UPDATE LibraryEvent

    Lecture 4: Write the Integration test for posting an invalid UPDATE LibraryEvent

    Lecture 5: Integration Tests for Real Databases using TestContainers

    Chapter 16: Error Handling, Retry and Recovery – Kafka Consumers

    Lecture 1: Custom Error Handler and Custom Retry in Kafka Consumer

    Lecture 2: Add a RetryListener to monitor each Retry attempt

    Lecture 3: Retry SpecificExceptions using Custom RetryPolicy

    Lecture 4: Retry failed Records with ExponentialBackOff

    Lecture 5: Recovery in Kafka Consumer

    Lecture 6: Recovery : Publish the message to the Retry Topic

    Lecture 7: Build the RetryTopic Listener to reprocess the Message

    Lecture 8: Refactor the LibraryEventsConsumer Integration test

    Lecture 9: Recovery : Publish the message to the DeadLetter Topic

    Lecture 10: Recovery : Save the failed message to the DB

    Lecture 11: Recovery : Spring Scheduler to recover the failed message

    Chapter 17: Error Handling, Retry and Recovery – Kafka Producer

    Lecture 1: Error Handling in Kafka Producer

    Lecture 2: Retry in Kafka Producer – Broker Not Available

    Lecture 3: Retry in Kafka Producer – Min.in.sync.replicas

    Lecture 4: Retain/Recover Failed Records in Kafka Producer

    Chapter 18: Kafka Security using SSL : Hands-On

    Lecture 1: Why Kafka Security & How SSL works?

    Lecture 2: How Enterprises add/manage SSL Certificate ?

    Lecture 3: Set Up SSL Kafka Security in Local

    Chapter 19: Accessing SSL Secured Kafka Cluster using Spring Boot

    Lecture 1: Configuring Library Events Producer to access SSL secured Cluster

    Instructors

  • Apache Kafka for Developers using Spring Boot[LatestEdition]  No.2
    Pragmatic Code School
    Technology Enthusiast, Online Instructor
  • Rating Distribution

  • 1 stars: 37 votes
  • 2 stars: 67 votes
  • 3 stars: 429 votes
  • 4 stars: 1838 votes
  • 5 stars: 2744 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!