Rocketmq Dashboard 查看消息详情异常。
Before Creating the Bug Report
-
[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.
-
[X] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
-
[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
OS:unbuntu
RocketMQ version
rocketmq:5.1.3 Rocketmq Dashboard版本:1.0.0。
JDK Version
Oracle JDK 20
Describe the Bug
当客户端生产者在使用proxy代理的情况下,发送的消息。想通过Rocketmq Dashboard查看消息的消费情况,会出现”ERROR Occur service exception: Failed to query message by Id: 0108719066FF9A489C04DB99CA00000003“的异常错误。但是如果客户端生产者不指向proxy,而是直接向namesrv发送的消息,这种情况下是可以正常查看消息的消费情况的。为什么会出现这种现象?
Steps to Reproduce
Rocketmq Dashboard的namesrvAddr指向是rocketmq-namesrv地址(无法指向proxy的remoting或者grpc端口,会发生错误)。
What Did You Expect to See?
正常查看消息的消费情况
What Did You See Instead?
会出现”ERROR Occur service exception: Failed to query message by Id: 0108719066FF9A489C04DB99CA00000003“的异常错误。
Additional Context
No response
由于5.0 sdk 修改了messageid的生成规则,在页面查询的时候,会解析mesageid中的时间戳,这时候解析是错的,就会导致你查不到消息,需要修改dashboard的代码,兼容这个场景
由于5.0 sdk 修改了messageid的生成规则,在页面查询的时候,会解析mesageid中的时间戳,这时候解析是错的,就会导致你查不到消息,需要修改dashboard的代码,兼容这个场景
非常感谢。我已经完成了对代码的改造。
由于5.0 sdk 修改了messageid的生成规则,在页面查询的时候,会解析mesageid中的时间戳,这时候解析是错的,就会导致你查不到消息,需要修改dashboard的代码,兼容这个场景
非常感谢。我已经完成了对代码的改造。 怎么更改代码呢
怎么修改 Rocketmq Dashboard 的代码啊?