Message queues are logs
A message queue is an ordered log that stores messages persistently on disk, ensuring recovery and redelivery in case of failures.
Consumers can replay messages from a specific log point.
Distributed message queues like Kafka replicate the log across nodes for high availability and fault tolerance, treating the log as the primary data synchronization abstraction.
Producers append messages to the log, while consumers read sequentially, ensuring efficient and consistent data flow.