🆕 Video Course Out Now: Rapid Docker on AWS

Amazon Kinesis Data Streams versus Amazon MQ

21 Sep 2020

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 7 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

n/a

License

AWS only

open source (Apache ActiveMQ)

Encryption at rest

yes

yes

Encryption in transit

yes

yes