ApsaraMQ for RabbitMQ uses the AMQP 0-9-1 protocol and is compatible with open source RabbitMQ client libraries. Which SDK you use depends on how you authenticate:
Alibaba Cloud account or RAM user -- Use any open source RabbitMQ SDK. Generate a username and password in the ApsaraMQ for RabbitMQ console, then connect with the standard client library for your language.
RAM role (cross-account authorization) -- Use an ApsaraMQ for RabbitMQ SDK. These SDKs add a signature dependency to the open source client for authentication. The messaging API stays the same.
Open source RabbitMQ SDKs
These client libraries work with any language or framework that supports AMQP 0-9-1.
Language or framework | SDK |
Java | |
Spring Framework | |
.NET | |
Python | |
PHP | |
Rust | |
C and C++ | |
Go | |
JavaScript and Node | |
Objective-C and Swift |
For additional languages, see Client Libraries and Developer Tools on the RabbitMQ website.
ApsaraMQ for RabbitMQ SDKs
Use these SDKs when you authenticate with a RAM role for cross-account authorization. Each SDK adds a signature dependency to handle RAM role authentication. The messaging API is the same as the open source client.
Language or framework | SDK and sample code |
Java | |
Spring | amqp-springboot-demo, amqp-spring-demo, amqp-springcloud-stream-demo, amqp-springcloudbus-demo |
Python | |
Go | |
.NET | |
C++ | |
Node.js | |
PHP | |
Ruby |