Findings: Kafka

Tested systems, observed outcomes, and the limits of each result.

Kafka findings, newest first
System + versionQuestionOutcomeUpstreamTested on
Kafka 4.2.1 + PostgreSQL 17.11Does 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 17Can 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 + KafkaDoes 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.0Does 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 loggedIssue #5012 · fix verified—
Kafka share groupsWhat 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—