分布式消息服务KAFKA版-查询分区最早消息的位置:响应消息

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

响应消息

响应参数

参数说明见表2

表2 响应参数说明

参数

类型

说明

topic

String

topic名称。

partition

Integer

分区编号。

message_offset

Long

最早消息位置。

timestamp

Long

最早消息时间戳。

响应示例

{
    "topic": "mytest",
    "partition": 0,
    "message_offset ": 9,
    "timestamp": 1568125039164
}
support.huaweicloud.com/api-kafka/kafka-api-191209005.html