https://github.com/robustmq/robustmq-proto
https://github.com/robustmq/robustmq-proto
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/robustmq/robustmq-proto
- Owner: robustmq
- License: apache-2.0
- Created: 2025-03-24T07:22:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-12T15:59:14.000Z (8 months ago)
- Last Synced: 2026-03-31T19:55:33.083Z (2 months ago)
- Language: Rust
- Size: 132 KB
- Stars: 4
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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(())
}
```