检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
{ "projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id
全局级服务需要获取全局级别的Token,此时请求body中auth.scope的取值为domain。 调用本服务API需要project级别的Token,即调用获取用户Token接口时,请求body中auth.scope的取值需要选择project,如下所示。
{ // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
available_zones:创建节点到指定的AZ ID,该参数不能为空数组或者数组的值为空,请参考查询可用区信息获取。 product_id:产品规格。具体取值范围,请参考创建实例。 storage_spec_code:存储IO规格。具体取值范围,请参考创建实例。
__": # The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
"Send transaction message successfully, messageId={}", sendReceipt.getMessageId()); } catch (Throwable t) { log.error("Failed
remaining Integer 剩余可创建消费组数量。 next_offset Integer 下个分页的offset。 previous_offset Integer 上个分页的offset。
// The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
ProduceDemoApplication implements CommandLineRunner { @Resource private RocketMQTemplate rocketMQTemplate; public static void main
// The AK and SK used for authentication are hard-coded or stored in plaintext, which has great security risks.
EXTENDEDFAILED 实例处于规格变更操作失败的状态。 FROZEN 实例处于已冻结状态,用户可以在“我的订单”中续费开启冻结的实例。 FREEZING 实例从运行中到已冻结的中间状态。 UPGRADING 实例正在进行升级操作。
417 Expectation Failed 服务器无法满足Expect的请求头信息。 422 UnprocessableEntity 请求格式正确,但是由于含有语义错误,无法响应。
ProducerFifoMessageExample { private static final Logger log = LoggerFactory.getLogger(ProducerFifoMessageExample.class); public static void main
package main import ( "context" "fmt" "os" "strconv" "sync" "sync/atomic" "time" "github.com/apache/rocketmq-client-go/v2" "github.com
email为IAM用户的邮箱。 **********为IAM用户的登录密码。
package main import ( "context" "fmt" "os" "time" "github.com/apache/rocketmq-client-go/v2" "github.com/apache/rocketmq-client-go/v2/
TopicTest', callback) print('start consume message') consumer.start() while True: time.sleep(3600) if __name__ == '__main
msg, 'orderId') print('send message status: ' + str(ret.status) + ' msgId: ' + ret.msg_id) producer.shutdown() if __name__ == '__main
log = LoggerFactory.getLogger(ProducerDelayMessageExample.class); private ProducerDelayMessageExample() { } public static void main
{ public static void main(String[] args) throws MQClientException, UnsupportedEncodingException { TransactionListener transactionListener