Spring Kafka. How to Prepare and Not Shoot Yourself in the Foot
summary
Covers configuring Kafka Consumers and Producers using Spring Kafka, showing concrete configuration options and best practices. Walks through common pitfalls around serialization (Serde), concurrency, error handling, and offset commits, and explains practical benefits of Spring Kafka’s higher-level abstraction over raw Apache Kafka clients.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:03What is Spring Kafka
- 3:37OTP business case
- 4:42Producer setup
- 8:22Async send pitfalls
- 10:51Custom producer config
- 12:19Consumer setup
- 14:31Type ID issues
- 17:21Concurrency config
- 18:46Deserialization errors
- 20:12Dead Letter Topic
- 22:02Error handling modes
- 26:00Message processing modes
- 30:28Simplifying processing
- 31:30Converters and bytes
- 34:24Duplicate filtering
- 36:08Forwarding to next topic
- 36:51Handling different DTOs
- 38:58Summary and tips
related talks
50mSpring Kafka beyond the basics - Kafka journey at ING Bank
43mEvent streaming applications with Kafka Streams, Spring Kafka and Actuator
44mSpring Kafka beyond the basics - Lessons learned on our Kafka journey at ING Bank
52mStream Processing with the Spring Framework Like You’ve Never Seen It Before
51mEvent Driven with Spring
01h 17mUsing @Transactional Like a Pro
52mSpring Recipes: A Collection of Common-Sense Solutions
33mSpring for Architects
