Part 2: Event-Driven Architecture — Kafka at Scale, Transactional Outbox & Idempotency
Previous Chapter: Part 1 — Microservices & GitOps Blueprint | Series Hub | Next Chapter: Part 3 — Data Infrastructure: From Aurora to TiDB Answer-first: PayPay guarantees zero event loss and strict ledger decoupling under promotional surges exceeding 1,250 TPS by combining the Transactional Outbox pattern with Debezium CDC and Apache Kafka. Consumer groups utilize the CooperativeStickyAssignor to prevent rebalance stop-the-world pauses, while a two-stage Redis distributed lock provides exactly-once processing semantics before persisting updates into the database. ...