Querying the Message Content
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
- Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
- In the navigation pane on the left, choose Message Queue Service > Message Query.
- 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.
Table 1 Message content Parameter
Description
Topic Name
Name of the topic where the message is located.
Message ID
Message ID, which is determined by the value of message_id in the message header when a message is produced.
Application Key
Application key of each message, which is determined by the value of TAGS in the message header when a message is produced.
Partition
Partition where a message is located. The value starts from 0. This parameter is mandatory if Search By is set to Offset.
Offset
Offset of a message in a partition.
Business Key
Business key carried in a message, which identifies the service to which the message belongs.
Tag
Tags carried when a client produces messages to a topic. Generally, tags are not used.
Message Size (Byte)
Size of messages.
Created
Time when a message was generated.
- Click Message Body in a message record. In the dialog box that is displayed, view the message details.
Last Article: Topic Management
Next Article: Importing and Exporting Topics
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.