应用与数据集成平台 ROMA CONNECT-重发消息:请求示例

时间:2024-07-04 15:42:16

请求示例

重发偏移量为4的消息,并为该消息添加指定消息头

POST https://{endpoint}/v2/{project_id}/mqs/instances/{instance_id}/messages/action?action_id=resend

{
  "topic" : "topic-test",
  "partition" : 0,
  "message_offset" : 4,
  "consumer_key" : "keyA"
}
support.huaweicloud.com/api-roma/ResetMessages.html