8 releases (1 stable)

5.0.0 Aug 7, 2023
5.0.0-rc1 Jul 27, 2023
0.1.2 Jul 10, 2023
0.1.1 Apr 23, 2023
0.0.2 Aug 15, 2020

#28 in #grpc

Download history 2/week @ 2023-12-11 11/week @ 2023-12-18 26/week @ 2024-02-12 3/week @ 2024-02-19 34/week @ 2024-02-26 23/week @ 2024-03-04 21/week @ 2024-03-11 47/week @ 2024-03-18 25/week @ 2024-03-25

118 downloads per month
Used in mq-workload-generator

Apache-2.0

270KB
5.5K SLoC

The Rust Implementation of Apache RocketMQ Client

Codecov-rust Crates.io docs.rs

RocketMQ Website

Overview

Here is the rust implementation of the client for Apache RocketMQ. Different from the remoting-based client, the current implementation is based on separating architecture for computing and storage, which is the more recommended way to access the RocketMQ service.

Here are some preparations you may need to know Quick Start.

Getting Started

Requirements

  1. rust toolchain, rocketmq's MSRV is 1.61.
  2. protoc 3.15.0+
  3. setup name server, broker, and proxy.

Run Tests

cargo llvm-cov --ignore-filename-regex pb/ --open

Run Example

Run the following command to start the example:

# send message via producer
cargo run --example producer

# consume message via simple consumer
cargo run --example simple_consumer

Dependencies

~23–38MB
~671K SLoC