Packt
Apache Kafka for Developers using Spring Boot

只需 199 美元(原价 399 美元)即可通过 Coursera Plus 学习更高水平的技能。立即节省

Packt

Apache Kafka for Developers using Spring Boot

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

1 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • 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.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

January 2026

作业

18 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有17个模块

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.

涵盖的内容

2个视频1篇阅读材料

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.

涵盖的内容

2个视频1个作业

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.

涵盖的内容

12个视频1个作业

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.

涵盖的内容

1个视频1个作业

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.

涵盖的内容

13个视频1个作业

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.

涵盖的内容

5个视频1个作业

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.

涵盖的内容

4个视频1个作业

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.

涵盖的内容

1个视频1个作业

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.

涵盖的内容

2个视频1个作业

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.

涵盖的内容

5个视频1个作业

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.

涵盖的内容

4个视频1个作业

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.

涵盖的内容

4个视频1个作业

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.

涵盖的内容

5个视频1个作业

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.

涵盖的内容

11个视频1个作业

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.

涵盖的内容

4个视频1个作业

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.

涵盖的内容

3个视频1个作业

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.

涵盖的内容

2个视频3个作业

位教师

Packt - Course Instructors
Packt
1,299 门课程334,545 名学生

提供方

Packt

从 Data Management 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题