GET /topics
Lists all topics belonging to the user.
Response:
JSON Map of topic name to topic’s partition:
GET /consumers
GroupAssignments
.
[GET | POST] /committed/$CONSUMER_GROUP/$INSTANCE_ID?timeout=$TIMEOUT
Returns the last committed offsets for the topic partitions inside the group.
Can be used alongside Commit Consumer API. Request body should be a single
TopicPartition
object or an array of TopicPartition
s:
timeout
parameter defines the time to wait at most for the offsets in
milliseconds. It’s optional and its default value is 10 seconds (10000
).
1 second
timeout:TopicPartitionOffset
s:
[GET | POST] /offsets/$TIMESTAMP?timeout=$TIMEOUT
Returns the offsets for the given partitions by timestamp. The returned offset
for each partition is the earliest offset whose timestamp is greater than or
equal to the given timestamp in the corresponding partition.
Request body should be a single TopicPartition
object or an array of
TopicPartition
s:
timeout
parameter defines the time to wait at most for the offsets in
milliseconds. It’s optional and its default value is 10 seconds (10000
).
earliest
and
latest
strings should be used as timestamp values.
1 second
timeout:
TopicPartitionOffset
s: