|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/apache-kafka-for-developers-using-springboot/
课程评论:没有评论
课程概述:Apache Kafka开发者课程使用Spring Boot [最新版] 本课程旨在为开发者提供Apache Kafka的理论与编码体验,特别适合希望使用Spring Boot构建企业标准Kafka客户端应用的开发者。课程内容包括 Kafka 的适用场景、内部机制、Producer/Consumer API 的使用,并关注于 Kafka 客户端应用的单元测试与集成测试。通过实操,您将掌握使用Spring Boot编码和实现Kafka客户端的完整知识。 课程内容包括: 1. **Kafka入门**:简要介绍Apache Kafka的术语及不同的客户端API。 2. **下载与安装Kafka**:从Kafka官网获取Kafka分发版。 3. **理解Kafka组件及其内部机制**:理论学习与实践探索Kafka内部。 4. **学习Kafka主题与分区**:创建本地Kafka集群,了解消息发送与消费者的偏移管理。 5. **应用概述**:课程中将要构建的应用介绍。 6. **构建Spring Boot Kafka生产者**:包含KafkaTemplate的使用和REST API的构建。 7. **集成测试**:使用JUnit5编写与Embedded Kafka交互的集成测试。 8. **单元测试**:编写Kafka生产者的单元测试。 9. **Kafka生产者与消费者的配置与发送**:详细介绍如何发送带有键的消息以及重要配置。 10. **事件持久化**:将数据持久化到H2内存数据库,并集成服务层处理库事件。 11. **错误处理、重试与恢复**:学习Kafka消费者和生产者的错误处理技术及相应的重试策略。 通过本课程的学习,学生将全面掌握使用Spring Boot构建企业级Kafka客户端的能力,包括单元测试和集成测试,能有效应对各类错误处理与恢复情况。
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 wellInternals of Kafka and how it worksBuilt Enterprise Standard Kafka Client Applications using Producer/Consumer API using Spring BootUnit/Integration Tests for the Kafka Client ApplicationsThen 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 KafkaIn this section, I will give you all a quick introduction to Apache Kafka, terminologies and different client APIs that are part of KafkaDownload and Install KafkaIn 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 KafkaSetup a Local Kafka Cluster with Multiple BrokersProducer/Consumer messages in the Kafka ClusterLearn about Consumer Offsets and Consumer GroupsCommit Log and Retention PolicyLearn about Kafka Load Distribution and Fault Tolerance and Robustness Application OverViewThis section covers the application that we are going to build as part of this course.Build SpringBoot Kafka Producer - Hands-OnIn 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 worldExplore KafkaTemplate to publish the data into the Kafka TopicLearn different approaches to produce the message into the KafkaLearn to publish the Kafka Record using HeadersIntegration Testing using JUnit5 - Hands-OnIn 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 JUnit5Write Integration test cases to interact with Embedded Kafka using JUnit5Unit Testing using JUnit5- Hands-OnIn 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 MockMVCAdd the validations to the request payload in the endpointWrite Custom Error Handler for different response codesKafka Producer - Sending Message With Key - Hands-OnIn this section, we will learn about sending the record to Kafka Topic with Key.Kafka Producer - Important ConfigurationsIn this section, we will learn about different key configurations to consider when it comes to reliable message delivery to KafkaBuild SpringBoot Kafka Consumer - Hands-OnIn this section, we will learn about building a Kafka Consumer using Spring Boot.Set up the base consumer project library-events consumerLearn about different Spring Kafka Terminologies which are necessary to configure a Kafka ConsumerLearn about how to configure a Kafka Consumer using the @KafkListener AnnotationLearn about how "Spring Boot Auto Configuration works behind the scenes for Kafka Consumer"Consumer Groups and Consumer Offset Management- Hands-OnIn 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 rebalanceLearn about the Default consumer offset management by KafkaLearn about how consumer offset can be manually managed from the applicationDemonstration of how to achieve scalable message consumption by increasing the concurrency level to greater than 1Persisting Library Events in DB - Using H2 InMemory DataBaseIn 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 DBCreate LibraryEvent and Book EntityBuild Service Layer to process LibraryEvent - ADD Event TypeBuild Service Layer to process LibraryEvent - MODIFY Event TypeIntegration Testing using Embedded Kafka - Kafka ConsumerIn this section, we will code and learn to write the Integration tests for the Kafka Consumer.Configure Embedded Kafka for Integration TestsWrite the Integration test for posting a "NEW" LibraryEvent Write the Integration test for posting an "UPDATE" LibraryEvent Integration Tests for Real Databases using TestContainersError Handling, Retry and Recovery - Kafka ConsumersIn this section, we will learn about the different error handling techniques that are available for Kafka Consumer.Custom Error HandlerRetry in Kafka ConsumerRetry SpecificExceptions using Custom RetryPolicyRecovery in Kafka ConsumerHandling Recovery in Kafka Consumer Error Handling, Retry/Recovery - Kafka ProducerError Handling in Kafka ProducerRetry in Kafka Producer - Broker Not AvailableRetry in Kafka Producer - Min.in.sync.replicasRetain/Recover Failed Records in Kafka ProducerBy the end of this you will have a complete understand and knowledge of building enterprise standard Kafka Consumers and Producers using Spring Boot with the Unit and Integration tests using EmbeddedKafka.