Log-based message queues for system design interviews: an append-only log that keeps messages after they are read, offsets per consumer group, partitions and keys, the one-consumer-per-partition rule, head-of-line blocking, retention, and replay.