Updated on 2022-02-21 GMT+08:00

Querying Topic Messages

Overview

ROMA Connect provides a visualized message query function, which allows you to view the message data stored in topics on the console and view the message body more intuitively and conveniently.

Messages of only one topic can be queried at a time.

Procedure

  1. Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
  2. In the navigation pane on the left, choose Message Queue Service > Message Query.
  1. In the upper right corner of the page, select the topic whose messages are to be queried. The messages stored in the topic are automatically displayed.

    You can also click Advanced Search, set search criteria, and click Search to search for messages.

    • Search By: method used for message query.
      • Creation time: Messages are queried by creation time.
      • Offset: Messages are queried by the location where the message is recorded in a partition.
    • Topic Name: name of the topic whose messages are to be queried.
    • Partition: ID of the partition in which messages are to be queried. The partition ID starts from 0. This parameter is mandatory if Search By is set to Offset.
    • Tag: Tags are carried when a client produces messages to a topic. Generally, tags are not used.
    • Message ID: unique ID of a message.
    • Business Key: business key carried in a message, which identifies the service to which the message belongs.