StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Utilities
  3. Background Jobs
  4. Message Queue
  5. Apache RocketMQ vs Azure Service Bus

Apache RocketMQ vs Azure Service Bus

OverviewDecisionsComparisonAlternatives

Overview

Azure Service Bus
Azure Service Bus
Stacks553
Followers536
Votes7
Apache RocketMQ
Apache RocketMQ
Stacks48
Followers200
Votes8

Apache RocketMQ vs Azure Service Bus: What are the differences?

Introduction

Apache RocketMQ and Azure Service Bus are both messaging systems that are widely used for building distributed applications. While they serve the same purpose of enabling communication between various components of an application, there are several key differences between them. In this article, we will discuss six key differences between Apache RocketMQ and Azure Service Bus.

  1. Messaging Patterns: Apache RocketMQ supports both publish/subscribe and point-to-point messaging patterns. It provides flexible and reliable messaging options for both scenarios. On the other hand, Azure Service Bus primarily focuses on providing publish/subscribe messaging pattern, making it a preferred choice for scenarios where events need to be broadcasted to multiple subscribers.

  2. Message Ordering: Apache RocketMQ guarantees strict message ordering within a message queue. This means that messages sent in a certain order will be received by consumers in the same order. However, Azure Service Bus does not provide strict ordering guarantees and messages can be received out of order. This is important to consider when designing applications that require strict message ordering.

  3. Message Size Limit: Apache RocketMQ has a maximum message size limit of 4MB for each message. In contrast, Azure Service Bus has a smaller maximum message size limit, which is 256KB for the Standard tier and 1MB for the Premium tier. If your application needs to handle larger messages, Apache RocketMQ might be a better choice.

  4. Message Retention Policy: Apache RocketMQ provides a configurable message retention policy, allowing you to specify how long messages should be retained in the system. This provides flexibility in managing storage costs and data retention requirements. On the other hand, Azure Service Bus has a default retention period of 7 days, which cannot be changed. This can be a limitation if your application requires longer message retention periods.

  5. Compatibility: Apache RocketMQ is an open-source project and can be used with any programming language that has a RocketMQ client library. This makes it suitable for a wide range of programming environments. On the other hand, Azure Service Bus is a cloud-based service provided by Microsoft and has SDKs and client libraries available for .NET, Java, and other programming languages primarily targeting the Azure platform.

  6. Pricing Model: Apache RocketMQ is an open-source project and is free to use without any licensing costs. However, you need to manage and maintain your own infrastructure for using RocketMQ. On the other hand, Azure Service Bus is a paid service and follows a usage-based pricing model. The cost varies based on factors such as the number of messages, message size, and additional features used.

In summary, Apache RocketMQ and Azure Service Bus differ in messaging patterns, message ordering guarantees, message size limits, retention policies, compatibility with programming languages, and pricing models. Considering these differences is important when choosing the messaging system that best suits the requirements and constraints of your application.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Azure Service Bus, Apache RocketMQ

André
André

Technology Manager at GS1 Portugal - Codipor

Jul 30, 2020

Needs adviceon.NET Core.NET Core

Hello dear developers, our company is starting a new project for a new Web App, and we are currently designing the Architecture (we will be using .NET Core). We want to embark on something new, so we are thinking about migrating from a monolithic perspective to a microservices perspective. We wish to containerize those microservices and make them independent from each other. Is it the best way for microservices to communicate with each other via ESB, or is there a new way of doing this? Maybe complementing with an API Gateway? Can you recommend something else different than the two tools I provided?

We want something good for Cost/Benefit; performance should be high too (but not the primary constraint).

Thank you very much in advance :)

461k views461k
Comments

Detailed Comparison

Azure Service Bus
Azure Service Bus
Apache RocketMQ
Apache RocketMQ

It is a cloud messaging system for connecting apps and devices across public and private clouds. You can depend on it when you need highly-reliable cloud messaging service between applications and services, even when one or more is offline.

Apache RocketMQ is a distributed messaging and streaming platform with low latency, high performance and reliability, trillion-level capacity and flexible scalability.

Statistics
Stacks
553
Stacks
48
Followers
536
Followers
200
Votes
7
Votes
8
Pros & Cons
Pros
  • 4
    Easy Integration with .Net
  • 2
    Cloud Native
  • 1
    Use while high messaging need
Cons
  • 1
    Lacking in JMS support
  • 1
    Skills can only be used in Azure - vendor lock-in
  • 1
    Limited features in Basic tier
  • 1
    Observability of messages in the queue is lacking
Pros
  • 2
    Million-level message accumulation capacity in a single
  • 2
    Support tracing message and transactional message
  • 1
    Feature-rich administrative dashboard for configuration
  • 1
    Low latency
  • 1
    High throughput messaging
Integrations
No integrations available
Docker
Docker

What are some alternatives to Azure Service Bus, Apache RocketMQ?

Kafka

Kafka

Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.

RabbitMQ

RabbitMQ

RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.

Celery

Celery

Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.

Amazon SQS

Amazon SQS

Transmit any volume of data, at any level of throughput, without losing messages or requiring other services to be always available. With SQS, you can offload the administrative burden of operating and scaling a highly available messaging cluster, while paying a low price for only what you use.

NSQ

NSQ

NSQ is a realtime distributed messaging platform designed to operate at scale, handling billions of messages per day. It promotes distributed and decentralized topologies without single points of failure, enabling fault tolerance and high availability coupled with a reliable message delivery guarantee. See features & guarantees.

ActiveMQ

ActiveMQ

Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License.

ZeroMQ

ZeroMQ

The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.

Apache NiFi

Apache NiFi

An easy to use, powerful, and reliable system to process and distribute data. It supports powerful and scalable directed graphs of data routing, transformation, and system mediation logic.

Gearman

Gearman

Gearman allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events.

Memphis

Memphis

Highly scalable and effortless data streaming platform. Made to enable developers and data teams to collaborate and build real-time and streaming apps fast.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase