Amazon Kinesis Data Streams versus Amazon MQ

11 Dec 2024

Learn how Amazon Kinesis Data Streams differs from Amazon MQ.

Amazon Kinesis Data Streams Amazon MQ
Scaling

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

80 msg/sec; can be increased with a network of brokers

Max. message size

1 MB

limited by disk space

Persistence

up to 365 days

forever (up to 200 GB)

Replication

Multi-AZ

Multi-AZ (optional)

Order guarantee

within a shard

yes

Delivery guarantee

at least once

exactly once; supports distributed (XA) transactions

Pricing

per shard hour

per broker hour + used storage

Protocols

AWS Rest API

JMS, AMQP, MQTT, STOMP, OpenWire

AWS Integrations

Lambda

Lambda

License

AWS only

open source (Apache ActiveMQ)

Encryption at rest

yes

yes

Encryption in transit

yes

yes