Message Queue for Apache RocketMQ provides multiple Query messages methods:
- Specify a topic and time range to query all messages received by this topic within the specified time range.
- Specify a topic and message ID to perform exact query of messages.
- Specify a topic and message key to query messages with the same message key.
The preceding methods can be used to query the specific content and consumption information of messages. To trace the time and location of each node on the entire link from the producer to the consumer, you can use the latest message tracing function provided by Message Queue for Apache RocketMQ. For the specific operations, see Query a message trace.