Why Kafka Processed My Order Twice: Offset Commit Timing & Idempotency Fixes
An inventory service deducted stock twice for the same order 34 seconds apart due to Kafka offset commit timing during rebalance; the article explains offset positions, auto vs manual commit, AckMode, max.poll.interval.ms, and idempotent consumption with database unique keys.
