Accessing RocketMQ on the Console
This section describes how to produce a specified message for a RocketMQ instance to verify service logic.
Prerequisites
- A RocketMQ instance is in the Running state.
- A topic has been created and has the publish permission.
Accessing RocketMQ on the Console to Produce Messages
- Log in to the RocketMQ console.
- Click a RocketMQ instance name to go to the instance overview page.
- In the navigation pane, choose Instance > Topics.
- Produce messages in either of the following ways:
- Click Produce Message in the row containing the desired topic. The Produce Message dialog box is displayed.
- Click the name of the topic to go to the topic details page. Click Create Message in the upper right corner of the page. The Produce Message page is displayed.
- Enter the message body, key, and tag (Message Key and Message Tag are optional) and click OK.
When a message "Message sent." is displayed in the upper right corner, the message is sent.
Table 1 Message production parameters Parameter
Description
Message Body
Content of the message to be produced.
The value can contain a maximum of 2,000 characters.
Message Key
If there are spaces, the key will be parsed as multiple keys, and cannot be filtered by Message Key in specific message queries.
The value can contain a maximum of 128 characters.
Message Tag
Categorizes messages in a topic. Messages are produced with tags.
The value can contain a maximum of 128 characters.
You can view the sent messages on the Message Query page of this topic.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

