Skip to content

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

LanguageInstallOfficial Docs
Gogo get github.com/nats-io/nats.gonats.go
Pythonpip install nats-pynats.py
JavaScript / Node.jsnpm install natsnats.js
JavaMaven / Gradlejnats
Rustcargo add async-natsnats.rs
C# / .NETdotnet add package NATS.Netnats.net
Cbuild from sourcenats.c
Rubygem install nats-purenats-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:4222

Everything else works as-is — no code changes needed.

🎉 既然都登录了 GitHub,不如顺手给我们点个 Star 吧!⭐ 你的支持是我们最大的动力 🚀