Topic: Testing

  1. 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.

  2. 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.

  3. streamjack 0.4.0 released

    The loss fuzzer is now in the streamjack release.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.