v1

latestOpenAPI 3.0.02026-07-175064171.4 KB
Partition (v3)

List Partition Offsets

Generally Available

Return the earliest and latest offsets of a partition with the given partition_id.

get/clusters/{cluster_id}/topics/{topic_name}/partitions/{partition_id}/offset

Query parameters

offset_typestring

Specify the offset type to be fetched for a given partition

Response

The earliest and latest offsets of a partition

kindstring required
cluster_idstring required
topic_namestring required
partition_idinteger required
{"stackTrail":"components:schemas:PartitionWithOffsetsData:allOf:properties:earliest_offset","oasType":"schema","type":"unknown"}
{"stackTrail":"components:schemas:PartitionWithOffsetsData:allOf:properties:latest_offset","oasType":"schema","type":"unknown"}