分布式消息服务KAFKA版-查询消息:响应示例

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

响应示例

状态码: 200

查询成功。

{
  "messages" : [ {
    "topic" : "topic-test",
    "partition" : 0,
    "value" : "hello world",
    "size" : 21,
    "timestamp" : 1607598463502,
    "huge_message" : false,
    "message_offset" : 4,
    "message_id" : "",
    "app_id" : "",
    "tag" : ""
  } ],
  "total" : 1,
  "size" : 1
}
support.huaweicloud.com/api-kafka/ShowInstanceMessages.html