Type: Course
Tags: Spring Boot, JUnit, Kafka, Apache Kafka, Kafka Producer, Kafka Consumer, Kafka Client, Kafka Cluster, Kafka Topics, Kafka Partitions, Kafka Offset Management, Consumer Groups, Kafka Load Distribution, Kafka Fault Tolerance, Kafka Robustness, Spring Kafka, KafkaTemplate, @KafkaListener, Kafka Auto Configuration, Kafka Message Key, Kafka Configurations, Embedded Kafka, Kafka Integration Testing, Kafka Unit Testing, JUnit5, MockMvc, @WebMvcTest, Spring JPA, H2 Database, In-Memory Database, TestContainers, Kafka Error Handling, Kafka Retry, Kafka Recovery, Kafka Custom Error Handler, Kafka Consumer Offset, Kafka Producer Config, Kafka REST API, Kafka Message Headers, Kafka Concurrency, Kafka Scalable Consumption, Kafka Commit Log, Kafka Retention Policy, Kafka Producer Retry, Kafka Consumer Retry, Kafka Producer Recovery, Kafka Consumer Recovery, Kafka Broker, min.insync.replicas, Kafka Enterprise Applications, Kafka Hands-On, Kafka Theory, Gradle, Maven, IntelliJ, Eclipse, Java 11
Bibtex:
Tags: Spring Boot, JUnit, Kafka, Apache Kafka, Kafka Producer, Kafka Consumer, Kafka Client, Kafka Cluster, Kafka Topics, Kafka Partitions, Kafka Offset Management, Consumer Groups, Kafka Load Distribution, Kafka Fault Tolerance, Kafka Robustness, Spring Kafka, KafkaTemplate, @KafkaListener, Kafka Auto Configuration, Kafka Message Key, Kafka Configurations, Embedded Kafka, Kafka Integration Testing, Kafka Unit Testing, JUnit5, MockMvc, @WebMvcTest, Spring JPA, H2 Database, In-Memory Database, TestContainers, Kafka Error Handling, Kafka Retry, Kafka Recovery, Kafka Custom Error Handler, Kafka Consumer Offset, Kafka Producer Config, Kafka REST API, Kafka Message Headers, Kafka Concurrency, Kafka Scalable Consumption, Kafka Commit Log, Kafka Retention Policy, Kafka Producer Retry, Kafka Consumer Retry, Kafka Producer Recovery, Kafka Consumer Recovery, Kafka Broker, min.insync.replicas, Kafka Enterprise Applications, Kafka Hands-On, Kafka Theory, Gradle, Maven, IntelliJ, Eclipse, Java 11
Bibtex:
@article{, title= {Apache Kafka for Developers using Spring Boot}, journal= {}, author= {}, year= {}, url= {https://www.udemy.com/course/apache-kafka-for-developers-using-springboot/?couponCode=KEEPLEARNING}, abstract= {# Kafka with Spring Boot Course ## Requirements - Java 11 or greater is required - IntelliJ, Eclipse, or a similar IDE - Knowledge about Spring Boot - Experience writing tests using JUnit - Gradle or Maven knowledge is needed ## Description This course is structured to give you both theoretical and coding experience with **Apache Kafka using Spring Boot**. It is targeted at developers who want to build **enterprise-standard Kafka client applications** using Spring Boot. If you're looking to learn: - Use cases where Kafka fits really well - Internals of Kafka and how it works - Building enterprise-standard Kafka client applications (Producer/Consumer API) using Spring Boot - Writing unit/integration tests for Kafka client applications 👉 **This is the right course for you.** This is a pure hands-on oriented course — you'll learn concepts through code. By the end of this course, you will have a complete understanding of coding and implementing Kafka clients using Spring Boot with the Producer/Consumer API. --- ## Course Content ### Getting Started with Kafka - Quick introduction to Apache Kafka: terminologies and different client APIs - Download and install Kafka ### Understanding Kafka Components and Internals (Theory + Hands-On) - Kafka internals - Topics and partitions - Set up a local Kafka cluster with multiple brokers - Producer/consumer messages in the Kafka cluster - Consumer offsets and consumer groups - Commit log and retention policy - Kafka load distribution, fault tolerance, and robustness --- ### Application Overview - Overview of the application you'll build during the course --- ### Build Spring Boot Kafka Producer - Hands-On - Build a Kafka producer using Spring Boot - Build REST API for posting events into the application - Use `KafkaTemplate` to publish data into Kafka topics - Different approaches to produce messages - Publish Kafka records using headers --- ### Integration Testing Using JUnit5 - Hands-On - Integration tests using Embedded Kafka - Test API interactions - Test Embedded Kafka interactions --- ### Unit Testing Using JUnit5 - Hands-On - Unit tests for Kafka producer - Controller layer tests using `@WebMvcTest` and `MockMvc` - Request payload validations - Custom error handler for different response codes --- ### Kafka Producer - Sending Messages with Key - Send records to Kafka topics with a key ### Kafka Producer - Important Configurations - Key configurations for reliable message delivery --- ### Build Spring Boot Kafka Consumer - Hands-On - Build a Kafka consumer using Spring Boot - Set up base consumer project - Learn Spring Kafka terminologies for consumer configuration - Configure consumers with `@KafkaListener` - Understand Spring Boot auto-configuration for Kafka consumers --- ### Consumer Groups and Offset Management - Hands-On - Consumer groups and offset management - Scalable message consumption and consumer rebalance - Default and manual offset management - Increase concurrency for scalable consumption --- ### Persisting Library Events in DB (H2 In-Memory Database) - Integrate DB layer using Spring JPA - Configure H2 in-memory DB - Create `LibraryEvent` and `Book` entities - Build service layer for ADD/MODIFY event types --- ### Integration Testing Kafka Consumer (Embedded Kafka) - Configure Embedded Kafka for integration tests - Test posting NEW and UPDATE library events - Integration tests for real DBs using TestContainers --- ### Error Handling, Retry, and Recovery - Kafka Consumer - Custom error handler - Retry strategies - Retry specific exceptions using custom `RetryPolicy` - Recovery handling --- ### Error Handling, Retry, and Recovery - Kafka Producer - Error handling in producer - Retry when broker not available - Retry when `min.insync.replicas` not met - Retain/recover failed records --- ## Final Outcome By the end of this course, you'll have **complete understanding and knowledge of building enterprise-standard Kafka producers and consumers using Spring Boot**, including unit and integration tests with Embedded Kafka. }, keywords= {Kafka, Apache Kafka, Spring Boot, Kafka Producer, Kafka Consumer, Kafka Client, Kafka Cluster, Kafka Topics, Kafka Partitions, Kafka Offset Management, Consumer Groups, Kafka Load Distribution, Kafka Fault Tolerance, Kafka Robustness, Spring Kafka, KafkaTemplate, @KafkaListener, Kafka Auto Configuration, Kafka Message Key, Kafka Configurations, Embedded Kafka, Kafka Integration Testing, Kafka Unit Testing, JUnit, JUnit5, MockMvc, @WebMvcTest, Spring JPA, H2 Database, In-Memory Database, TestContainers, Kafka Error Handling, Kafka Retry, Kafka Recovery, Kafka Custom Error Handler, Kafka Consumer Offset, Kafka Producer Config, Kafka REST API, Kafka Message Headers, Kafka Concurrency, Kafka Scalable Consumption, Kafka Commit Log, Kafka Retention Policy, Kafka Producer Retry, Kafka Consumer Retry, Kafka Producer Recovery, Kafka Consumer Recovery, Kafka Broker, min.insync.replicas, Kafka Enterprise Applications, Kafka Hands-On, Kafka Theory, Gradle, Maven, IntelliJ, Eclipse, Java 11}, terms= {}, license= {}, superseded= {} }