diff --git a/README.md b/README.md index 64fa09b..e8ccbf2 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ * [消费模型](/rocketmq/introduction/features/consume_model) * [消息回溯](/rocketmq/introduction/features/message_backtracking) * [死信队列](/rocketmq/introduction/features/dlq) + * [消息轨迹](/rocketmq/introduction/features/msessage_trace.md) + * [网络模式](/rocketmq/introduction/features/net) * [产品优势](/rocketmq/introduction/advantages) * 操作指南 * 实例管理 @@ -28,6 +30,7 @@ * [重置消息位](/rocketmq/guide/group/reset_offset) * [Group删除](/rocketmq/guide/group/delete) * [消息查询](/rocketmq/guide/message) + * [消息轨迹](/rocketmq/guide/message_trace) * [死信队列](/rocketmq/guide/dlq) * [操作日志](/rocketmq/guide/log) * 告警通知 diff --git a/_sidebar.md b/_sidebar.md index ea07339..02366ab 100644 --- a/_sidebar.md +++ b/_sidebar.md @@ -7,6 +7,7 @@ * [消费模型](/rocketmq/introduction/features/consume_model) * [消息回溯](/rocketmq/introduction/features/message_backtracking) * [死信队列](/rocketmq/introduction/features/dlq) + * [消息轨迹](/rocketmq/introduction/features/msessage_trace.md) * [网络模式](/rocketmq/introduction/features/net) * [产品优势](/rocketmq/introduction/advantages) * 操作指南 @@ -27,6 +28,7 @@ * [重置消息位](/rocketmq/guide/group/reset_offset) * [Group删除](/rocketmq/guide/group/delete) * [消息查询](/rocketmq/guide/message) + * [消息轨迹](/rocketmq/guide/message_trace) * [死信队列](/rocketmq/guide/dlq) * [操作日志](/rocketmq/guide/log) * 告警通知 diff --git a/guide/message_trace.md b/guide/message_trace.md new file mode 100644 index 0000000..8d6683c --- /dev/null +++ b/guide/message_trace.md @@ -0,0 +1,9 @@ +# 消息轨迹 + +目前支持按照MessageId查询消息轨迹,可在消息查询页面查询消息之后,选择指定消息点击“消息轨迹”按钮查询消息轨迹信息。 + +![msg_trace_01](/rocketmq/images/msg_trace_01.png) + +可点击切换消费组查看不同消费组消费轨迹信息 + +![msg_trace_02](/rocketmq/images/msg_trace_02.png) \ No newline at end of file diff --git a/images/msg_trace_01.png b/images/msg_trace_01.png new file mode 100644 index 0000000..ec6a49d Binary files /dev/null and b/images/msg_trace_01.png differ diff --git a/images/msg_trace_02.png b/images/msg_trace_02.png new file mode 100644 index 0000000..1787282 Binary files /dev/null and b/images/msg_trace_02.png differ diff --git a/introduction/features/msessage_trace.md b/introduction/features/msessage_trace.md new file mode 100644 index 0000000..0988909 --- /dev/null +++ b/introduction/features/msessage_trace.md @@ -0,0 +1,21 @@ +# 消息轨迹 + +消息轨迹是指一条消息从生产到被消费经过所有节点的链路信息,包括生产与消费轨迹信息,用户可根据消息轨迹获取消息相关链路信息进行相关的业务分析。 + +## 基本信息 + +基本消息指消息自身消息,包括所属Topic、Key、Tag、消费状态等信息; + +## 生产信息 + +包括生产者地址、消息发送时间、消息发送耗时、消息发送状态等信息; + +## 消费信息 + +单条消息可能被多个消费组的多个消费者消费,消费消息包括每个消费该条消息消费者的客户端地址、消费状态、消费耗时及投递时间等信息; + +## 接入方式 + +客户端需要设置消息轨迹才可使用消息轨迹功能。 + +[JAVA版本客户端设置消息轨迹示例](https://github.com/apache/rocketmq/tree/rocketmq-all-4.7.1/example/src/main/java/org/apache/rocketmq/example/tracemessage) \ No newline at end of file