Design Resilient Architectures

Several analytics applications must independently consume the same ordered stream of device events and replay events from any point within the previous seven days. Which design meets these requirements with the LEAST custom coordination?

Show the answer

Correct answerB. Use Amazon Kinesis Data Streams with seven-day retention.

AWhy not this: Separate queues isolate consumers, but deleting processed messages removes their availability for arbitrary replay.

BWhy this is right: Independent consumers can read retained records again; ordering is maintained within each shard.

CWhy not this: Consumers sharing a queue compete for messages rather than each receiving the full stream, and deleted messages cannot be replayed.

DWhy not this: Rules route events, but rules alone do not provide a retained, ordered stream with independent consumer positions.

Kinesis Data Streams retains ordered records within shards and lets consumers independently read and replay them during the retention period. SNS with separate SQS queues provides fan-out, but consumed and deleted messages cannot be reread from an arbitrary position.