Topic: Testing
- Does the outbox pattern prevent lost Kafka events?
A naive dual write lost its Kafka event after the database committed; the outbox delivered at the same crash point but duplicated an event when the relay died after Kafka acknowledged it.
- What should block a Kafka consumer release?
Block releases on repeatable real-broker checks for lost records and unsafe replay, and run wider crash and timing tests on a schedule.
- streamjack 0.4.0 released
The loss fuzzer is now in the streamjack release.
- Verified two proposed upstream fixes on a real broker
I posted before-and-after results on proposed fixes for SmallRye and Spring Kafka after testing both on a real broker.
- What does a Kafka consumer lose when it's killed mid-retry?
In a concurrent SmallRye delayed-retry run, one unfinished record never came back after restart.
- Can a 'no duplicates' check pass while the stored decision is wrong?
Every tested case left one row, but only an epoch-checked write preserved the newer decision in both write orders.
- Does SmallRye's ordered-by-key processing survive a crash?
The replacement received the unfinished record in every scheduled attempt, and the next record for the same key never started early.
- Does Kafka replay a record after your database already committed?
Kafka redelivered the same record after a post-commit crash, but a unique key prevented a second database row.
- Does your Kafka share consumer tell you when an acknowledgement fails?
Spring Kafka's default synchronous share-container path logged nothing when a commit returned a per-partition failure.
- What happens when a 40-second LLM call outlives Kafka's 30-second lock?
A blocked consumer thread let one record reach its five-delivery limit even though deduplication prevented repeated side effects.