What’s new in Spring for Apache Kafka 4?
summary
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
