GET /consumergroups?topic_id=xxxx-xx-xx-xx-xxxxxxxx HTTP/1.1Host: <Region>.cls.tencentyun.comAuthorization: <AuthorizationString>
Field Name | Type | Location | Required | Description |
topic_id | string | query | Yes | ID of the log topic to be queried |
HTTP/1.1 200 OKContent-Type: application/jsonContent-Length: 123{"consumer_groups":[{"consumer_group":"cls-demo_consumer_group","order":true,"timeout":3600}]}
Field Name | Type | Required | Description |
consumer_group | string | Yes | Consumer group name |
timeout | int | Yes | Consumer group timeout period. If no heartbeat is received in timeout seconds, the system will delete the consumer group |
order | bool | Yes | Whether to consume sequentially |
Feedback