SDK Integration
RobustMQ is fully compatible with the NATS protocol. Use any official NATS client SDK to connect directly — no changes required.
SDKs by Language
| Language | Install | Official Docs |
|---|---|---|
| Go | go get github.com/nats-io/nats.go | nats.go |
| Python | pip install nats-py | nats.py |
| JavaScript / Node.js | npm install nats | nats.js |
| Java | Maven / Gradle | jnats |
| Rust | cargo add async-nats | nats.rs |
| C# / .NET | dotnet add package NATS.Net | nats.net |
| C | build from source | nats.c |
| Ruby | gem install nats-pure | nats-pure.rb |
Full SDK list and examples: nats.io/download
Connection URL
Replace the server address in the official docs with your RobustMQ address:
text
nats://localhost:4222Everything else works as-is — no code changes needed.
