An open API service indexing awesome lists of open source software.

https://github.com/robustmq/robustmq-proto


https://github.com/robustmq/robustmq-proto

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Robust-Proto

The protobuf protocol for RobustMQ grpc server.

- broker_mqtt
- journal_server
- meta_service

## Install

```bash
cargo add robustmq-proto-build --git=https://github.com/robustmq/robustmq-proto.git --build
```

**Import proto file directly**

If you want to generate your own protobuf protocol, you can add this repo as submodule in your project.

```bash
git submodule add https://github.com/robustmq/robustmq-proto.git ./robustmq-proto
```

## Usage

### Rust

Install crate from git as first. And add the following code into your `build.rs`

```rust
fn main() -> Result<(), Box> {
robustmq_proto_build::setup()?;
Ok(())
}
```