tencent cloud

Feedback

API 2.0 to 3.0 Switch Guide

Last updated: 2024-01-03 10:20:36
    Cloud Message Queue (CMQ) has been deprecated on December 31, 2022 (Beijing time), and its capabilities will be provided by TDMQ for CMQ. The billing rules of TDMQ for CMQ will apply. For more information, see Billing Overview. Tencent Cloud will guarantee the service quality of TDMQ for CMQ according to Service Level Agreement.
    TDMQ for CMQ is fully compatible with CMQ SDK so that you can migrate your business smoothly. It also provides tools for quick migration. For more information, see CMQ Queue Migration to TDMQ for CMQ.
    CMQ APIs 2.0 have also been deprecated on December 31, 2022. If you are still using these APIs, switch to TDMQ for CMQ APIs 3.0 as soon as possible so that your business can run normally.
    You can refer to the following documentation or tool to complete the switchover:
    Documentation > APIs: All public API information is available.
    Documentation > SDK : SDKs in eight programming languages for API 3.0 are available.
    API Explorer: API Explorer can directly generate codes for you to call SDKs.

    List of APIs switched from v2.0 to v3.0

    CMQ API 2.0
    API Description
    TDMQ for CMQ API 3.0
    CreateQueue
    Creates a queue
    CreateTopic
    Creates a topic
    DeleteQueue
    Deletes a queue
    DeleteTopic
    Deletes a topic
    GetQueueAttributes
    Gets queue attributes
    GetSubscriptionAttributes
    Gets subscription attributes
    GetTopicAttributes
    Gets topic attributes
    ListQueue
    Gets queue list
    ListSubscriptionByTopic
    Gets subscription list
    ListTopic
    Gets topic list
    SetQueueAttributes
    Modifies queue attributes
    SetSubscriptionAttributes
    Modifies subscription attributes
    SetTopicAttributes
    Modifies topic attributes
    Subscribe
    Creates a subscription
    Unsubscribe
    Deletes a subscription
    API 3.0 is generally compatible with API 2.0, though some parameters are slightly changed after the switchover. For details, see Parameter Differences.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support