检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
IP白名单。 admin Boolean 是否为管理员。 perm String 权限。 请求示例 查询消费组的授权用户列表。 GET https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/group
描述 - AnyType 操作成功。 请求示例 修改consumer-group-test消费组的参数,最大重试次数修改为16。 PUT https://{endpoint}/v2/{project_id}/instances/{instance_id}/groups/{group}
"credits" or "license" for more information. >>> 如果未安装Python,请使用以下命令安装: yum install python 安装librocketmq库和rocketmq-client-python,具体操作请参考rocketmq-client-python。
难度,推荐使用。 SDK列表 表1提供了分布式消息服务RocketMQ版支持的SDK列表,您可以在GitHub仓库查看SDK更新历史、获取安装包以及查看指导文档。 表1 SDK列表 编程语言 Github地址 参考文档 Java huaweicloud-sdk-java-v3 Java
IP白名单。 admin Boolean 是否为管理员。 perm String 权限。 请求示例 查询主题的授权用户列表。 GET https://{endpoint}/v2/{project_id}/instances/{instance_id}/topics/{topic}/accesspolicy
权限集。 consume_orderly Boolean 是否按顺序消费。 请求示例 查询RocketMQ实例的消费组列表。 GET https://{endpoint}/v2/{project_id}/instances/{instance_id}/groups 响应示例 状态码:
String 元数据迁移任务状态。 type String 元数据迁移类型。 请求示例 查询RocketMQ实例下所有迁移任务。 GET https://{endpoint}/v2/{project_id}/instances/{instance_id}/metadata 响应示例 状态码:
group_perms 参数 参数类型 描述 name String 消费组名称。 perm String 权限。 请求示例 查询用户详情。 GET https://{endpoint}/v2/{project_id}/instances/{instance_id}/users/{user_name}
group_perms 参数 参数类型 描述 name String 消费组名称。 perm String 权限。 请求示例 查询用户列表。 GET https://{endpoint}/v2/{project_id}/instances/{instance_id}/users?offset=0&limit=10
Long 已消费消息数。 last_message_time Long 最新消费消息的存储时间,unix毫秒时间戳格式。 请求示例 GET https://{endpoint}/v2/{project_id}/instances/{instance_id}/groups/{group}/topics
from_transaction_check Boolean 是否为事务回查的响应。 请求示例 查询RocketMQ实例的消息轨迹。 GET https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/trace
write_queue_num Number 写队列个数。 请求示例 查询指定RocketMQ实例的主题列表,查询数量为10,从offset=0开始查询。 GET https://{endpoint}/v2/{project_id}/instances/{instance_id}/topics?offset=0&limit=10
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 job_id String 规格变更任务ID。 请求示例 POST https://{endpoint}/v2/rocketmq/{project_id}/instances/{instance_id}/extend
error_code String 错误码。 error_message String 错误信息。 请求示例 重发死信消息。 POST https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/messa
expression String 订阅tag字符。 请求示例 查询指定消费组的消费者列表,查询数量为10,从offset=0开始查询。 GET https://{endpoint}/v2/rocketmq/{project_id}/instances/{instance_id}/groups/{group}/clients
消息ID。 error_code String 错误码。 error_message String 错误信息。 请求示例 消费验证。 POST https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/messages/resend
property_list 参数 参数类型 描述 name String 属性名称。 value String 属性值。 请求示例 查询消息。 GET https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/messages
String 任务ID。 请求示例 批量修改消费组的参数,将consumer-group-test消费组的最大重试次数修改为16。 PUT https://{endpoint}/v2/{project_id}/instances/{instance_id}/groups { "groups"
partitions objects 分区信息。 表9 partitions 参数 参数类型 描述 name String 分区名称。 请求示例 GET https://{endpoint}/v1.0/{project_id}/instances/{instance_id}/ceshierarchy
分布式消息服务RocketMQ版提供了REST(Representational State Transfer)风格API,支持您通过HTTPS请求调用,调用方法请参见如何调用API。 终端节点 终端节点(Endpoint)即调用API的请求地址,不同服务不同区域的终端节点不同,