Quick Decision Rule: When Multiple independent downstream teams (billing, analytics, fraud) must consume and replay the exact same 7-day order event stream, choose Append-only partitioned log (Kafka / Kinesis) with independent consumer groups and offset retention.
| Trigger Condition | Multiple independent downstream teams (billing, analytics, fraud) must consume and replay the exact same 7-day order event stream |
|---|---|
| Recommended Choice | Append-only partitioned log (Kafka / Kinesis) with independent consumer groups and offset retention |
| Classic Trap | SQS deletes messages after consumption by a single worker; adding a new consumer later cannot replay historical events without a separate fan-out + archive pipeline. |
| Verification | Audited on 2026-11-23 · Distributed Systems Core · 2026 |
30-SECOND DECISION TRAP CHECK · MESSAGING
An AI assistant recommends Amazon SQS Standard so that billing, analytics, and a future ML team launching next quarter can all independently replay the last 7 days of checkout events. What is the fatal flaw?
SQS is a point-to-point queue where consumed messages are deleted. Independent replay across multiple consumer groups requires a durable partitioned log such as Kafka or Kinesis.
Trap: Use a durable log (Kafka/Kinesis) when multiple teams need independent event replay; SQS is for task queuing.