Introduction to Kafka with Spring Boot

Learn how to create robust Kafka implementations using Spring Boot 3 and Apache Kafka
4.52 (594 reviews)
Udemy
platform
English
language
Software Engineering
category
Introduction to Kafka with Spring Boot
5 749
students
5.5 hours
content
Nov 2024
last update
$19.99
regular price

Why take this course?

Ím glad to hear that you're interested in the comprehensive course on Apache Kafka and Spring Boot with Spring Kafka! Here's a summary of what you can expect from the course, including installation, usage, and advanced concepts:

Course Overview:

  • Introduction to Apache Kafka: Understanding the importance of Kafka for handling high-throughput data pipelines and event streaming in real-time.

  • Installation and Setup:

    • Installing and running the Kafka broker locally on a Linux/Mac system.
    • Installing and running the Kafka broker on Windows using WSL (Windows Subsystem for Linux).
  • Kafka Command Line Tools: Learning to use Kafka's command line interface to send and receive messages, view topic metadata, and more.

  • Spring Boot Application Development with Spring Kafka:

    • Creating a Spring Boot application using Spring Initializr.
    • Exploring the Spring Kafka APIs for consuming and producing messages.
    • Using Spring annotations to simplify your code.
    • Unit testing producers and consumers with JUnit and Mockito.
    • Integration testing with Spring Boot Test, Spring Kafka Test, and embedding a Kafka broker.
  • Advanced Spring Kafka Concepts:

    • Handling String and JSON messages.
    • Managing message serialization and deserialization.
    • Ensuring message ordering and handling keyed messages.
    • Configuring Kafka beans programmatically or through application properties.
    • Setting up manual and automatic topic creation.
    • Implementing consumer group configuration, failover, and shared/dedicated consumption strategies.
    • Handling retries, dead letter topics, and routing messages based on content.
  • Course Extras:

    • Access to a private Slack community for real-time help from the instructor and other Spring professionals.
    • A free 4-month trial license for IntelliJ IDEA Ultimate for hands-on experience with the preferred Java IDE among Spring Framework professionals.
  • Additional Resources:

    • Closed captioning in English for all course videos.
    • Downloadable PDFs of presentations.
  • Lifetime Access and Guarantee:

    • Lifetime access to the course content.
    • Thirty-day money-back guarantee if you're not satisfied with the course.

Key Topics Covered:

  1. Introduction to Kafka - Its use cases, architecture, and how it differs from other messaging systems.
  2. Kafka Broker Setup - Instructions for setting up a Kafka broker on different operating systems.
  3. Kafka Command Line Tools - Commands for producer and consumer operations.
  4. Spring Boot Integration - Using Spring Initializr, Spring Kafka APIs, and annotations for seamless integration.
  5. Message Handling - Working with keys, message ordering, and serialization (String, JSON).
  6. Consumer Groups - Understanding consumer groups, failover strategies, and shared/dedicated consumption.
  7. Error Handling - Poison pill messages, retry mechanisms, and dead letter topics.
  8. Configuration - Kafka bean configuration in Spring Boot, manual vs. automatic topic creation.
  9. Advanced Scenarios - Routing, configuring trusted packages, and handling multiple event types from the same topic.
  10. Testing - Unit testing with JUnit and Mockito, integration testing with Spring Boot Test.

By the end of this course, you'll have a solid understanding of how to use Apache Kafka within a Spring Boot application, from setting up your environment to handling complex messaging patterns and scenarios. You'll also be part of a vibrant community of Spring enthusiasts, with access to resources that will help you succeed in your projects involving Apache Kafka and Spring Boot.

Loading charts...

5233078
udemy ID
25/03/2023
course created date
16/09/2023
course indexed date
Bot
course submited by