This topic describes the scenarios in which you use a cloud SDK and a control SDK provided by Message Queue for MQTT.

Precautions

Before using the cloud SDK to access Message Queue for MQTT, you must first submit a ticket to obtain a Message Queue for MQTT endpoint.

Usage notes

  • You must use a cloud SDK that is provided by Message Queue for MQTT together with a client SDK to send messages or subscribe to messages. If you use the cloud SDK to send a message, use your client SDK to subscribe to the message. If you use your client SDK to send a message, use the cloud SDK to subscribe to the message. For more information about client SDKs, see Download client SDKs.
  • A cloud SDK is used to connect cloud applications to Message Queue for MQTT. A client SDK is used to connect devices to Message Queue for MQTT.
  • A cloud SDK provided by Message Queue for MQTT supports only Java.

Scenarios

Scenarios for SDKs