You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
Consumer group management API
ModifyConsumerGroup
Copy page
Download PDF
ModifyConsumerGroup
Call the ModifyConsumerGroup interface to modify the configuration of a consumer group.​
Usage notes​
This interface is used to modify the list of topic ID subscribed by the consumer group, heartbeat expiration time, and other configurations. The modification of the consumer group name is not supported. The call frequency limit is 20 times/s, and exceeding the frequency limit will report an error ExceedQPSLimit.​
Request syntax​
  • Request Method:DELETE​
  • Request URL:https://{tls-endpoint}/ModifyConsumerGroup​
Request parameters​
The table below only lists the request parameters specific to this interface and some common parameters. For more information, please see Common parameters.​
Body​
​
Name​
Type​
Required​
Example​
Description​
ProjectID​
String​
True​
c7******​
The ID of the project to which the consumer group belongs.​
ConsumerGroupName​
String​
True​
my-consumer-group​
The name of the consumer group.​
TopicIDList​
Array of String​
False​
["A1 ******", " b2 ******"]​
The list of topic IDs to be consumed by the consumer group.​
HeartbeatTTL​
Integer​
False​
60​
The heartbeat expiration time, in seconds, with a value range of 1 to 300.​
OrderedConsume​
Boolean​
False​
false​
Whether to consume the logs in order.​
  • true: Consume the logs in order within the shard. After the shard is split, the original shard data is consumed first, and then the shard data split from that shard is consumed in parallel; After the shard is merged, the original shard data is consumed first, and then the new shard data merged from the original shard is consumed.​
  • false: Do not consume the logs in order. That is, all shards are consumed at the same time, and the new shards generated after the shard is split or merged will also be consumed immediately.​
​
Responses​
There are no unique return parameters for this interface. For more information, please refer to the Response message.​
Sample Request​
​
DELETE https://{tls-endpoint}/ModifyConsumerGroup HTTP/1.1​
Content-Type: application/json​
{​
"ProjectID": "c7************",​
"ConsumerGroupName": "my-consumer-group",​
"TopicIDList": [​
"a1******"​
],​
"HeartbeatTTL": 60,​
"OrderedConsume": false​
}​
​
Sample Response​
​
HTTP/1.1 200 OK​
Content-Type: application/json; charset=utf-8​
​
Error code​
The following table lists the error codes related to the interface and business logic. For common error codes, please refer to the Common error codes.​
​
HTTP status code​
Error code​
Error message​
Description​
400​
InvalidArgument​
Invalid argument key %s, value %s, please check argument.​
The parameter is invalid.​
400​
InvalidArgument​
Invalid argument key %s, value %s, acceptable value: %s please check argument.​
The parameter is invalid.​
500​
InternalServerError​
We encountered an unexpected server error, please try again later.​
Internal server error.​
​
​
​
Last updated: 2025.10.28 18:42:01