The first time you use ApsaraMQ for MQTT, you can refer to this topic to familiarize yourself with how to purchase an instance and how to connect to an ApsaraMQ for MQTT broker for messaging.
Process
The following figure shows the process of using an ApsaraMQ for MQTT SDK to send and receive messages.