Spring for Apache Kafka the advanced features
summary
Shows concrete Spring Kafka recipes: how non-blocking retries use retry topics and headers (configurable attempts, exponential backoff, eventual dead-letter), how to create runtime consumer components from config to handle multiple serialization formats, and how to scale vertically with the Kafka listener concurrency property. Demos run with Docker Compose, show metrics via Micrometer/Prometheus, traces in Grafana Tempo, logs to Loki, and cite ING production scale: ~2 million msgs/s, ~8,000 topics across clusters.
AI-written summary · about
chapters (17)
- 0:00Spring for Apache Kafka intro
- 3:36Kafka overview
- 6:48Why use Spring Kafka
- 8:33Consumer groups and parallelism
- 10:21Scaling consumers
- 12:07Demo setup
- 14:59Multiple serialization formats
- 16:50Consumer runtime config
- 22:16Vertical vs horizontal scaling
- 25:12Demo vertical scaling
- 26:58Consumer exception handling
- 31:32Demo retries
- 37:51Observability in events
- 40:40Demo tracing and metrics
- 43:32Demo tracing with Tempo
- 45:24Demo Kafka metrics
- 47:08Summary
related talks
50mSpring Kafka beyond the basics
40mEvent Streaming Applications with Kafka Streams, Spring Kafka and Actuator
01h 44mData processing with Kafka Streams and Spring Framework.
51mData processing with Kafka Streams and Spring Framework. Dmitriy Sergeev. Java Fest 2020 Online
50mStream processing with Kafka in Big Data environments
53mSupersonic Subatomic Apache Kafka
57mWhen Everything Went Kafka
01h 11mBootiful Stream Processing!
