POST /consumers/{string: group_name}/instances/{string: instance_id}/positions/end

Seek to the last offset for each of the given partitions.

Parameters

Table 1. Parameters
Parameter Description
group_name (string) Name of the consumer group.
instance (string) ID of the consumer instance.
partitions A list of partitions.
partitions[i].topic (string) Name of the topic
partitions[i].partition (int) Partition ID

Syntax

http://<host>:8082/consumers/<group_name>/instances/<consumer_name>/positions/end

Request Example

curl  -X POST -H "Content-Type: application/vnd.kafka.v2+json" --data  
'{"partitions": [{"topic": "/stream:first","partition": 0}]}' 
https://localhost:8082/consumers/grouptest/instances/user/positions/end

Response Example

HTTP/1.1 204 No Content