Skip to content

AutoMQ/automq-for-rocketmq

Repository files navigation

AutoMQ for Apache RocketMQ

A cloud-native implementation for Apache RocketMQ 5.0

What is AutoMQ for Apache RocketMQ

Build Status Release License

AutoMQ for Apache RocketMQ has been redesigned to utilize cloud infrastructure, allowing users to take advantage of elastic computing resources and nearly unlimited, cost-effective storage in the cloud. It also ensures 100% functional compatibility with Apache RocketMQ.

Compared to Apache RocketMQ, AutoMQ for Apache RocketMQ offers the following advantages:

  • Enhanced Scalability: Separate storage to services rather than software, enabling seamless scaling to meet varying workloads. Maximize the use of Spot instances to leverage one of the most significant advantages of cloud computing: Elasticity.

  • Cost Efficiency: Using object storage as primary storage has made the storage more resilient and provided nearly unlimited capacity. Additionally, shared storage architecture is better suited for migration and can save up to 80% on your bill.

  • Simplified Management: AutoMQ for Apache RocketMQ uses a reliable metadata service and cluster controller to balance traffic between brokers and isolate abnormal nodes automatically. This greatly simplifies the management of the cluster.

Quick Start

Pre-requirements: docker and docker-compose

  1. Clone the project via git: git clone https://github.com/AutoMQ/automq-for-rocketmq.git && cd automq-for-rocketmq
  2. Run ./distribution/docker/build.sh to build the docker image.
  3. Run ./distribution/docker/compose.sh to start the service, which includes 1 MySQL server and 2 RocketMQ brokers.
  4. Start the producer and consumer to produce and consume messages, See rocketmq-clients for more details.

How to Contribute

Read our contributing guide to learn about our development process.