Findings: Kafka
Tested systems, observed outcomes, and the limits of each result.
| System + version | Question | Outcome | Upstream | Tested on |
|---|---|---|---|---|
| Kafka 4.2.1 + PostgreSQL 17.11 | Does the outbox pattern prevent lost Kafka events? Tested: Windows host and Ubuntu CI · Kafka 4.2.1 · PostgreSQL 17.11 · one partition · one active relay · deliberate crash points | Naive: event lostOutbox: duplicate, no loss | — | Windows host · Ubuntu CI |
| Kafka 4.2.1 + PostgreSQL 17 | Can a 'no duplicates' check pass while the stored decision is wrong? Tested: Kafka 4.2.1 · PostgreSQL 17 · plain Kafka client · scripted model · forced timing | One row can keep the wrong decision | — | — |
| PostgreSQL + Kafka | Does Kafka replay a record after your database already committed? Tested: two JVMs · PostgreSQL · Kafka · scripted model · named crash points | One row after crash | — | — |
| Spring for Apache Kafka 4.2.0 | Does your Kafka share consumer tell you when an acknowledgement fails? Tested: Spring Kafka 4.2.0 · Kafka 4.4.0 · one record · 3 s lock · 5 s listener | Ack failures not logged | Issue #5012 · fix verified | — |
| Kafka share groups | What happens when a 40-second LLM call outlives Kafka's 30-second lock? Tested: plain Kafka client and SmallRye share groups · slow scripted handler | Same record delivered 5× | Issue #3636 · confirmed by maintainer | — |