Updated on 2024-04-07 GMT+08:00

Comparing Kafka and RocketMQ

Table 1 Functions

Feature

RocketMQ

Kafka

Priority queue

Not supported

Not supported

Delayed queue

Supported

Not supported

Dead letter queue

Supported

Not supported

Message retry

Supported

Not supported

Retrieval mode

Pull-based and push-based

Pull-based

Message broadcasting

Supported

Supported

Message tracking

Supported

Supports offset and timestamp tracking.

Message accumulation

Supported

Supports

Persistence

Supported

Supported

Message tracing

Supported

Not supported

Message filtering

Supported

Supported

Multi-tenancy

Supported

Not supported

Multi-protocol

Compatible with RocketMQ.

Only supports Apache Kafka.

Multi-language

Supports clients in multiple programming languages.

Kafka is written in Scala and Java and supports clients in multiple programming languages.

Throttling

Pending

Supports throttling on producer or consumer clients.

Ordered message delivery

Queue-level order

Partition-level order

Security

SSL authentication

SSL and SASL authentication and read/write permissions control

Transactional messages

Supported

Supported