Interface | https://[endpoint].ctapi.ctyun.cn/v1/consumerGroup/updateTopics | |||
Request Method | POST | |||
Request Parameters | Required or Not | Position | Parameter Type | Description |
prodInstId | Yes | body | String | Instance ID |
groupName | Yes | body | String | Consumer Group Name |
addTopicName | No | body | String | The name of the topic to be subscribed to. |
deleteTopicName | No | body | String | The name of the topic to be unsubscribed from. |
Response Parameter | Parameter Type | Description | ||
statusCode | String | The status code of the interface on the system layer. Success: 800; failure: 900. | ||
message | String | Status Description | ||
returnObj | String | Return the object. The parameters included in this parameter are described in the comments in Response Examples. | ||
Sample Request | ||||
{ "prodInstId":"xsef", "groupName":"group1, "addTopicName":"topic-1", "deleteTopicName ":"topic-2" } | ||||
Examples of a Successful Response | ||||
{ "returnObj":{ "data":"create success" }, "message":"success", "statusCode":"800" } | ||||
Example of a Failed Response | ||||
{ "returnObj": {}, "message": "...", "statusCode": "900" } | ||||
Update the Topic subscribed by a Consumer Group
2024-05-09 08:41:44