ApsaraMQ for MQTT supports the standard MQTT 3.1.1 protocol and is theoretically compatible with all MQTT clients. To send and receive messages, integrate one of the following recommended third-party SDKs into your application.
Recommended SDKs
|
Language or platform |
Recommended SDK |
Repository |
|
Java |
Eclipse Paho Java |
|
|
Python |
Eclipse Paho Python |
|
|
Golang |
Eclipse Paho Go |
|
|
C |
Eclipse Paho C |
|
|
C# |
Eclipse Paho C# (M2Mqtt) |
|
|
JavaScript |
Eclipse Paho JavaScript |
|
|
Node.js |
MQTT.js |
|
|
Android |
Eclipse Paho Android |
|
|
iOS |
MQTT-Client-Framework |
|
|
PHP |
Mosquitto-PHP |
Note: Some MQTT clients may have compatibility issues with ApsaraMQ for MQTT. For the best experience, use the SDKs listed above.
Other languages
For MQTT client libraries in other languages, see the MQTT community library list. These libraries have not been tested with ApsaraMQ for MQTT.