Pick the fix
Analytics, billing and a new fraud service must each read all order events, and fraud must replay the last 30 days on launch. Pick:
Hint 1 of 1
Who needs history?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Kafka with 30-day retention
Correct. Every consumer group reads independently and a new one can start from the beginning.
Kafka keeps messages for the retention period whether or not they've been read, and each consumer group has its own offset. A new group can start at the oldest offset and replay 30 days.
Why not the others?
- B RabbitMQ classic queues. Acknowledged messages are gone; the new service can't replay.
- C Redis pub/sub. No retention at all.
- D A cron job that copies tables. Not an event stream.