调用 DescribeSubscriptionGroups 接口查询订阅消费组列表。
同步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
TaskId | String | 是 | 4ddec6d036384248a25862fb******** | 任务 ID。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Groups | Object[] |
| 消费组列表信息。 |
POST /?Action=DescribeSubscriptionGroups&Version=2022-10-01 HTTP/1.1 Content-Type: application/json Host: dts.volcengineapi.com X-Date: 20221001T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20221001/cn-beijing/dts/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645**** { "TaskId": "9863318d02ed4a6f88f14c03a2*****" }
{ "ResponseMetadata": { "RequestId": "202303201059212810CCE542B4640C8B51", "Action": "DescribeSubscriptionGroups", "Version": "2022-10-01", "Service": "dts", "Region": "cn-beijing" }, "Result": { "Groups": [ { "CreateTime": 1679280623, "DelaySeconds": 0, "Description": "", "GroupName": "9863318d02ed4a6f88f14c03a******:test****", "LogEndOffset": 0, "Offset": -1, "PartitionId": 0, "UpdateTime": 1679280623, "Username": "test****" } ] } }
更多详情,请参见错误码。