Packt
Apache Kafka for Developers using Spring Boot

Acquérir des compétences de haut niveau avec Coursera Plus pour 199 $ (régulièrement 399 $). Économisez maintenant.

Ce cours n'est pas disponible en Français (France)

Nous sommes actuellement en train de le traduire dans plus de langues.
Packt

Apache Kafka for Developers using Spring Boot

Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

1 semaine à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme
Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

1 semaine à compléter
à 10 heures par semaine
Planning flexible
Apprenez à votre propre rythme

Ce que vous apprendrez

  • Learn how to configure Kafka clusters and set up producers and consumers in Spring Boot applications.

  • Gain expertise in testing Kafka applications using JUnit5 and Embedded Kafka for real-world scenarios.

  • Master error handling and retry mechanisms in both Kafka producers and consumers.

  • Understand Kafka security principles and how to configure SSL for secure communication.

Compétences que vous acquerrez

  • Catégorie : Encryption
  • Catégorie : Restful API
  • Catégorie : Distributed Computing
  • Catégorie : Integration Testing
  • Catégorie : Apache Kafka
  • Catégorie : Spring Boot
  • Catégorie : Event-Driven Programming
  • Catégorie : Data Pipelines
  • Catégorie : JUnit
  • Catégorie : Unit Testing

Détails à connaître

Certificat partageable

Ajouter à votre profil LinkedIn

Récemment mis à jour !

janvier 2026

Évaluations

18 devoirs

Enseigné en Anglais

Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

 logos de Petrobras, TATA, Danone, Capgemini, P&G et L'Oreal

Il y a 17 modules dans ce cours

In this module, we will introduce the course’s core objectives and what you can expect to achieve by the end of your journey. We’ll also cover the necessary prerequisites for the course and ensure you're set up to dive into the world of Kafka and Spring Boot.

Inclus

2 vidéos1 lecture

In this module, we will provide an introduction to Apache Kafka, exploring its origins and how it fits within data pipelines. You’ll also get familiar with essential Kafka terminology and its client APIs that are fundamental for messaging and stream processing.

Inclus

2 vidéos1 devoir

In this module, we will dive deep into Kafka's internal components, such as topics, partitions, and replication. You’ll learn how to set up a Kafka broker environment locally and explore Kafka’s distributed architecture for high-throughput stream processing.

Inclus

12 vidéos1 devoir

In this module, we will introduce the Library Inventory application that serves as the basis for Kafka integration throughout the course. You’ll learn how Kafka is leveraged to streamline and manage events within the system.

Inclus

1 vidéo1 devoir

In this module, we will guide you through building a Kafka producer using Spring Boot. You’ll start by setting up the base project and then proceed to develop the logic for producing messages, including using KafkaTemplate for message publishing.

Inclus

13 vidéos1 devoir

In this module, we will explore the importance of integration testing for Kafka applications. You’ll learn how to write and configure tests for the Kafka producer and consumer, leveraging Embedded Kafka for a reliable and isolated testing environment.

Inclus

5 vidéos1 devoir

In this module, we will cover the essentials of unit testing for Spring Boot applications. You’ll learn how to write unit tests for your REST APIs and implement error handling for invalid requests, ensuring robust error management.

Inclus

4 vidéos1 devoir

In this module, we will focus on creating a PUT endpoint to update Library Events and send messages with specific keys. You’ll understand how key-based partitioning works in Kafka and its importance for data distribution.

Inclus

1 vidéo1 devoir

In this module, we will explore Kafka producer configurations that impact performance and reliability. You’ll learn how to adjust important settings like retry behavior to handle network issues or broker failures.

Inclus

2 vidéos1 devoir

In this module, we will focus on setting up a Spring Boot Kafka consumer. You will configure Kafka consumers with Spring profiles, and use the @KafkaListener annotation to handle incoming Kafka messages.

Inclus

5 vidéos1 devoir

In this module, we will explore how Kafka consumer groups operate, and demonstrate the effects of rebalancing on message consumption. You’ll learn both default and manual offset management strategies in Spring Kafka, and configure concurrent consumers for parallel message processing to optimize your Kafka consumer setup.

Inclus

4 vidéos1 devoir

In this module, we will set up an H2 in-memory database to persist Library Events. You will also learn to create JPA entities for LibraryEvent and Book, and develop the service layer to handle adding and modifying events, ensuring smooth database interactions for Library Events.

Inclus

4 vidéos1 devoir

In this module, we will configure Embedded Kafka to test consumer behavior in isolation. You will create integration tests to validate both new and updated Library Events, as well as handling error scenarios such as invalid updates. Additionally, we'll explore using TestContainers for database-driven integration tests.

Inclus

5 vidéos1 devoir

In this module, we will dive into Kafka consumer error handling, building custom error handlers, and configuring retry policies with exponential backoff. You will also implement recovery strategies such as using retry topics, dead-letter topics, and saving failed messages to databases for manual intervention and further processing.

Inclus

11 vidéos1 devoir

In this module, we will focus on error handling and retry strategies for Kafka producers. You will learn how to configure retries when Kafka brokers are unavailable or when replication requirements are violated, and how to manage failed messages for recovery.

Inclus

4 vidéos1 devoir

In this module, we will cover Kafka security, specifically focusing on SSL encryption for secure data transmission. You will learn how SSL works in Kafka, how to set up SSL in a local cluster, and best practices for managing SSL certificates at an enterprise level.

Inclus

3 vidéos1 devoir

In this module, we will guide you through securing your Spring Boot applications to interact with an SSL-enabled Kafka cluster. You’ll learn how to configure both the Kafka producer and consumer to securely connect and exchange data with the Kafka cluster using SSL encryption.

Inclus

2 vidéos3 devoirs

Instructeur

Packt - Course Instructors
Packt
1 306 Cours337 147 apprenants

Offert par

Packt

En savoir plus sur Data Management

Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.
Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’
Jennifer J.
Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’
Larry W.
Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’
Chaitanya A.
’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’
Coursera Plus

Ouvrez de nouvelles portes avec Coursera Plus

Accès illimité à 10,000+ cours de niveau international, projets pratiques et programmes de certification prêts à l'emploi - tous inclus dans votre abonnement.

Faites progresser votre carrière avec un diplôme en ligne

Obtenez un diplôme auprès d’universités de renommée mondiale - 100 % en ligne

Rejoignez plus de 3 400 entreprises mondiales qui ont choisi Coursera pour les affaires

Améliorez les compétences de vos employés pour exceller dans l’économie numérique

Foire Aux Questions