分布式消息服务RocketMQ版-查询消费者列表:响应参数

时间:2023-11-01 16:20:16

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

group_name

String

消费组名称

online

Boolean

消费组是否在线

subscription_consistency

Boolean

订阅关系是否一致

total

Integer

消费者总数

next_offset

Integer

下个分页的offset

previous_offset

Integer

上个分页的offset

clients

Array of ClientData objects

消费者订阅详情列表

表4 ClientData

参数

参数类型

描述

language

String

客户端语言

version

String

客户端版本

client_id

String

客户端ID

client_addr

String

客户端地址

subscriptions

Array of Subscription objects

订阅关系列表

表5 Subscription

参数

参数类型

描述

topic

String

订阅的topic名称

type

String

订阅类型,取值如下:TAG和SQL92

expression

String

订阅tag字符

support.huaweicloud.com/api-hrm/ShowConsumerConnections.html