分布式消息服务KAFKA版-查询Topic的分区列表:响应示例

时间:2024-01-24 16:40:33

响应示例

状态码: 200

查询topic的分区列表成功

{
  "total" : 3,
  "partitions" : [ {
    "partition" : 0,
    "start_offset" : 0,
    "last_offset" : 1216303,
    "message_count" : 1216303,
    "last_update_time" : 1688011291458
  }, {
    "partition" : 1,
    "start_offset" : 0,
    "last_offset" : 985447,
    "message_count" : 985447,
    "last_update_time" : 1688011291469
  }, {
    "partition" : 2,
    "start_offset" : 0,
    "last_offset" : 923340,
    "message_count" : 923340,
    "last_update_time" : 1688011291526
  } ]
}
support.huaweicloud.com/api-kafka/ListTopicPartitions.html