SDK Download

Last updated: 2018-09-11 09:35:43

PDF

Downloading SDK

Tencent Cloud's message queue supports java, python, php, and C++ SDKs currently, and will support more languages later. You are also welcome to develop more SDK versions of other languages based on API descriptions.

Here are the download links:

Notes about SDK

Before using a SDK, you need to at least get the secret id, secret key, and endpoint (it indicates the region to which the request is to be sent, and whether the request is sent through a private network or a public network).

Instructions for endpoint:

Private network endpoint: http://cmq-queue-region.api.tencentyun.com

Public network endpoint: http(s)://cmq-queue-region.api.qcloud.com

  • If the business process is also deployed on a Tencent Cloud CVM, we strongly recommend that you use a private network endpoint in the same region. For example, if your business process is deployed on a CVM of Tencent Cloud in Beijing, we recommend that you use http://cmq-queue-bj.api.tencentyun.com.
    Reasons: 1) The latency is lower for a private network in the same region; 2) Currently, message queue charges a fee for the downstream traffic of public networks, so using a private network can save the cost.
  • region should be replaced with a specific region: gz (Guangzhou), sh (Shanghai), or bj (Beijing). The region value in the common parameters should be consistent with the region value of the domain. If there is an inconsistency, the request will be sent to the region specified by the domain.
  • Public network domain requests support both HTTP and HTTPS. Private network requests only support HTTP.