站长网 云计算 CMQ 调用中出现 action 不存在如何处理?

CMQ 调用中出现 action 不存在如何处理?

action 不存在时提示如下(创建主题接口不存在):CMQServerException {code:4000,data:{\code\:4000,\message\:\(10430)action name CreateTopic is not existed\可能是没有正确填写 endpoint,Queue 和 Topic 对应的 endpoint 不相同,具体如下:Queue:h

action 不存在时提示如下(创建主题接口不存在):

CMQServerException {"code":4000,"data":"{\"code\":4000,\"message\":\"(10430)action name CreateTopic is not existed\"

可能是没有正确填写 endpoint,Queue 和 Topic 对应的 endpoint 不相同,具体如下:

Queue:

 

http://cmq-queue-region.api.tencentyun.com/ 

Topic:

 

http://cmq-topic-region.api.tencentyun.com/ 

具体使用时请将 region 替换为对应的区域:gz(广州)、sh(上海)、bj(北京)。不同地域不同消息模式的 endpoint 链接请参考 请求地域说明。

 

注意:

以上 endpoint 采用的内网域名,使用外网域名时需要将 tencentyun 替换为 qcloud 。推荐使用内网域名,使用外网会收取流量费用,且外网时延可能较高。

本文来自网络,不代表站长网立场,转载请注明出处:https://www.zwzz.com.cn/html/yun/2021/1104/19122.html

作者: dawei

【声明】:站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。
联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部