Amazon SNS FIFO versus Amazon MSK

17 Oct 2021

Learn how Amazon SNS FIFO differs from Amazon MSK.

Amazon SNS FIFO Amazon MSK
Scaling

3000 msg/sec (batch write) or 10 MB per second

30 brokers per cluster; you need add/remove brokers and reassign partitions manually

Max. message size

256 KB

configurable (default 1 MB)

Persistence

no

forever (up to 16384 GiB per broker)

Replication

Multi-AZ

Multi-AZ (optional)

Order guarantee

yes

within a partition

Delivery guarantee

exactly-once possible

up to the consumer

Pricing

per message

per broker hour + provisioned storage

Protocols

AWS Rest API

Kafka protocol

AWS Integrations

SQS FIFO

Lambda

License

AWS only

open source (Apache Kafka)

Encryption at rest

yes

yes

Encryption in transit

yes

yes