Amazon SQS FIFO versus Amazon Kinesis Data Streams

27 Mar 2024

Learn how Amazon SQS FIFO differs from Amazon Kinesis Data Streams.

Amazon SQS FIFO Amazon Kinesis Data Streams
Scaling

3000 msg/sec (batch write)

1 MB or 1000 msg/sec per shard; up to 500 shards; you need to manually add/remove shards

Max. message size

256 KB

1 MB

Persistence

up to 14 days

up to 365 days

Replication

Multi-AZ

Multi-AZ

Order guarantee

yes

within a shard

Delivery guarantee

exactly-once possible

at least once

Pricing

per message

per shard hour

Protocols

AWS Rest API

AWS Rest API

AWS Integrations

Lambda

Lambda

License

AWS only

AWS only

Encryption at rest

yes

yes

Encryption in transit

yes

yes