Kafka vs SQS

High-throughput distributed log versus managed message queue for event streaming.

Overview

What is being compared

Apache Kafka is a distributed event log for high-throughput, ordered, replayable streams. SQS is a fully managed simple queue for point-to-point work distribution. The difference shows up most clearly in what happens to a message after someone reads it.

  • Model — Distributed event log — Simple message queue
  • Delivery — Any consumer group reads every message — Point-to-point, one consumer per message
  • After consumption — Messages stay for the configured retention period — Messages are deleted
  • Replay — Any consumer group can replay from any offset — Not possible
  • Operations — You run it, or use MSK — Fully managed

Sign up free to read the full topic

More Comparisons topics

Start free on Cariara · Coding problems · System design studio