All Products
Search
Document Center

ApsaraMQ for MQTT:Changes in resource use

Last Updated:Sep 06, 2024

After ApsaraMQ for MQTT is upgraded from V2.x.x to V3.x.x, ApsaraMQ for MQTT implements independent data storage and eliminates the messaging dependency on ApsaraMQ for RocketMQ. Therefore, the use of ApsaraMQ for MQTT instances and topics is changed.

Resource

V2.x.x usage instruction

V3.x.x usage instruction

ApsaraMQ for MQTT instance

You must bind an ApsaraMQ for RocketMQ instance to an ApsaraMQ for MQTT instance of version 2.x.x before you can use the ApsaraMQ for MQTT instance to send and receive messages.

You do not need to bind an ApsaraMQ for RocketMQ instance to an ApsaraMQ for MQTT of version 3.x.x before you can use the ApsaraMQ for MQTT instance to send and receive messages.

ApsaraMQ for MQTT topic

A parent topic on an ApsaraMQ for MQTT instance of version 2.x.x is a topic on an ApsaraMQ for RocketMQ instance. You can create a topic in the ApsaraMQ for RocketMQ console or by calling the corresponding API operation. Then, you can use the topic to send and receive messages in ApsaraMQ for MQTT.

If you want to use a topic on an ApsaraMQ for MQTT instance of version 3.x.x to send and receive messages, you must create the topic in the ApsaraMQ for MQTT console.

ApsaraMQ for MQTT instance endpoint

You can obtain the endpoint of an ApsaraMQ for MQTT instance of version 2.x.x in the ApsaraMQ for MQTT console only after you bind the instance to an ApsaraMQ for RocketMQ instance.

You can obtain the endpoint of an ApsaraMQ for MQTT instance of version 3.x.x in the ApsaraMQ for MQTT console without the need to bind the instance to an ApsaraMQ for RocketMQ instance.

ApsaraMQ for MQTT rule

No rule is required to exchange data with other Alibaba Cloud services. ApsaraMQ for MQTT instances of version 2.x.x share topics with ApsaraMQ for RocketMQ instances.

You must create rules in the ApsaraMQ for MQTT console to exchange data with other Alibaba Cloud services. ApsaraMQ for MQTT V3.x.x allows you to exchange data only with ApsaraMQ for RocketMQ.

Resource usage affects the billing of ApsaraMQ for MQTT. After the upgrade, you are not charged for topics in ApsaraMQ for MQTT V3.x.x for now. Other billable items remain unchanged. This helps save costs because you do not need to create topics in ApsaraMQ for RocketMQ. For more information, see Billing overview.