Apache Kafka for Developers using Spring Boot[LatestEdition]

BY
Udemy

Acquire the knowledge of Apache Kafka and Spring Boot to develop standard Kafka producers and consumers for unit and integration tests.

Mode

Online

Fees

₹ 3099

Quick Facts

particular details
Medium of instructions English
Mode of learning Self study
Mode of Delivery Video and Text Based

Course overview

Apache Kafka for Developers using Spring Boot[LatestEdition] online certification is designed by Pragmatic Code School - Technology Enthusiast & Online Instructor and is delivered by Udemy, which is geared toward Java programmers and Spring developers who want to develop enterprise-standard Kafka client applications using characteristics of Spring Boot. The goal of the Apache Kafka for Developers using Spring Boot[LatestEdition] online course is to provide students with a thorough understanding of how to code and develop Kafka clients using SpringBoot and the Kafka producer and consumer APIs.

Apache Kafka for Developers using Spring Boot[LatestEdition] online training incorporates 17 hours of videos, 104 downloadable resources, 2 articles, and assignments to offer students a theoretical understanding of Apache Kafka utilizing Spring Boot as well as hands-on programming skills. Additionally, utilizing embedded Kafka and Junit, this course covers the strategies for writing integration tests and unit tests as well as several methods for generating messages for Kafka.

The highlights

  • Certificate of completion
  • Self-paced course
  • 17 hours of pre-recorded video content
  • 2 articles
  • 104 downloadable resources
  • Assignments

Program offerings

  • Online course
  • Downloadable learning resources
  • 30-day money-back guarantee
  • Unlimited access
  • Accessible on mobile devices and tv

Course and certificate fees

Fees information
₹ 3,099
certificate availability

Yes

certificate providing authority

Udemy

What you will learn

Knowledge of kafka Web application development skills

After completing the Apache Kafka for Developers using Spring Boot[LatestEdition] certification course, students will gain a deeper understanding of the principles associated with Apache Kafka for developing applications using the features of Spring Boot. Students will explore the methodologies used for developing Kafka client applications. Students will learn about techniques for writing unit tests and integration tests using JUnit and embedded Kafka as well as will learn about Kafka clusters, Kafka producer, and Kafka consumer APIs. Students will also discover how to secure Kafka using an SSL certification.

The syllabus

Getting Started With the Course

  • Course Introduction & Objectives
  • Pre-Requesities

Course Slides

  • Course Slides

Getting Started with Kafka

  • Introduction to Kafka
  • Kafka Terminologies and Client APIs

Download and Install Kafka

  • Download and Install Kafka

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

  • Kafka Topics and Partitions - Theory
  • Set Up a ZooKeeper/Kafka Broker in Local
  • Create Topic, Produce and Consume Messages using the CLI
  • Produce and Consume Messages with Key
  • Consumer Offsets
  • Consumer Groups
  • Commit Log and Retention Policy
  • Kafka as a Distributed Streaming System
  • Setting up a Kafka Cluster in Local with 3 Kafka Brokers
  • How Kafka Cluster distributes the Client Requests ? - Leader/Follower
  • How Kafka handles Data Loss ? - Replication and In-Sync-Replica (ISR)
  • Fault Tolerance and Robustness in Kafka

Application Overview

  • Overview of the application - Library Inventory

Source Code for this Course

  • Source Code

Build SpringBoot Kafka Producer - Hands On

  • Setting up the Base project for Library Event Kafka producer
  • Build the Library Event Domain
  • Create the POST endpoint "/libraryevent"
  • Introduction to Spring KafkaTemplate to Produce Messages - Theory
  • Configure KafkaTemplate using SpringBoot Profiles - application.yml
  • How Spring Boot AutoConfiguration Works? - Kafka Producer
  • AutoCreate TOPIC using KafkaAdmin
  • Build LibraryEvents Producer using KafkaTemplate - Approach1- Part1
  • Build LibraryEvents Producer using KafkaTemplate - Approach1- Part2
  • LibraryEvents Producer API - Behind the Scenes
  • Build LibraryEvents Producer using KafkaTemplate - Approach2
  • Build LibraryEvents Producer using KafkaTemplate - Approach3
  • Sending KafkaRecord With Headers using KafkaTemplate
  • Add LibraryEvent Type - NEW, UPDATE

Integration Testing using JUnit5 - Hands On

  • Introduction to Automates Tests
  • Integration Test for POST endpoint - "/v1/libraryevent" - Part 1
  • Integration Test for POST endpoint - "/v1/libraryevent" - Part 2
  • Embedded Kafka - Introduction , Configure and Integrate in JUnit
  • Integrate Kafka Consumer in JUnit and Consume the record

Unit Testing using JUnit5- Hands On

  • Introduction to Unit Testing
  • Unit Test POST "/libraryevent" endpoint using MockMVC
  • Adding Validations to the LibraryEvent Payload
  • Custom ErrorMessages using ControllerAdvice
  • Write JUnit Test for Kafka Producer - OnFailure()
  • Write JUnit Test for Kafka Producer - OnSuccess()

Build SpringBoot Kafka Producer - Sending Message With Key - Hands On

  • Create the PUT endpoint - "v1/libraryEvent"
  • Assignment - Integration Test PUT "/libraryevent" endpoint using Embedded Kafka
  • Assignment - Unit Test PUT - "/libraryevent" endpoint using MockMVC

Kafka Producer : Important Configurations

  • Kafka Producer - Important Configurations
  • Configure the "acks" value as "All" - Hands On

Build SpringBoot Kafka Consumer - Hands On

  • Set Up the Library Events Consumer Base project
  • Introduction to Spring Kafka Consumer - Theory
  • Configure Kafka Consumer using SpringBoot Profiles - application.yml
  • Build Kafka Consumer using @KafkaListener Annotation
  • How Spring Boot AutoConfiguration Works ? - Kafka Consumer

Consumer Groups and Consumer Offset Management- Hands On

  • Consumer Groups and Rebalance- Hands On
  • Default Consumer Offset Management in Spring Kafka - Hands On
  • Manual Consumer Offset Management - Hands On
  • Concurrent Consumers - Hands On

Persisting Library Events in DB - Using H2 InMemory DataBase - Hands On

  • 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 - Hands On

  • Configure Embedded Kafka for Integration Tests
  • Write the Integration test for posting a new LibraryEvent
  • Write the Integration test for posting a "UPDATE" LibraryEvent
  • Integration Test for "MODIFY" Library Event - Not a valid library Event
  • Integration Tests for Real Databases using TestContainers

Error Handling, Retry and Recovery - Kafka Consumer - Hands On

  • Custom Error Handler
  • Retry in Kafka Consumer
  • Retry SpecificExceptions using Custom RetryPolicy
  • Recovery/Retry in Kafka Consumer
  • Handling Recovery in Kafka Consumer - Part 1
  • Handling Recovery in Kafka Consumer - Part 2

Error Handling, Retry and Recovery - Kafka Producer - Hands On

  • 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

Kafka Security using SSL : Hands-On

  • Why Kafka Security & How SSL works?
  • How Enterprises add/manage SSL Certificate ?
  • Set Up SSL Kafka Security in Local
  • Accessing Secured Kafka Cluster using CLI - Producer/Consumer Messages
  • 2 Way Authentication - Client & Server Authentication

Accessing SSL Secured Kafka Cluster using Spring Boot

  • Configuring Library Events Producer to access SSL secured Cluster
  • Configuring Library Events Consumer to access SSL secured Cluster

Trending Courses

Popular Courses

Popular Platforms

Learn more about the Courses

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

Careers360 App
150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books