~/talk

What’s new in Spring for Apache Kafka 4?

Talkat Spring I/O 2026 · 2026-04-13..04-15
slides:none on file

Spring Boot 4 + Spring for Apache Kafka 4 migration is shown using OpenRewrite migration to update POMs, starters and tests; embedded Kafka tests are converted away from ZooKeeper. New Kafka queues (share consumers) let many consumers read concurrently from the same partition, with per-message acknowledgements, 30s locks, delivery count, up to five retries and out‑of‑order processing (no ordering guarantee). Limitations: no autoconfig, metrics or tracing yet, no DLQ or batch API. The consumer rebalance protocol "consumer" is opt‑in and demonstrates zero‑downtime rolling upgrades in a live Dockerized demo.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Spring Boot 4 and Kafka 4 migration
  3. 12:25Kafka queues and shared consumers
  4. 23:20Demo: Kafka queues with Spring Kafka
  5. 36:33New rebalance protocol in Kafka 4
  6. 41:51Demo: Rolling upgrade with new protocol
  7. 47:51Trade-offs of new features
  8. 49:38Wrap-up and conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.