Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

阿里云 RocketMQ 消费时拿不到消息重新消费次数 #87

Open
zhiyongpeng opened this issue Dec 11, 2024 · 2 comments
Open

阿里云 RocketMQ 消费时拿不到消息重新消费次数 #87

zhiyongpeng opened this issue Dec 11, 2024 · 2 comments

Comments

@zhiyongpeng
Copy link

当前 SDK 用于阿里云 RocketMQ 时一直存在问题:

  • 消费时,同一消息多次消费,MessageExt 的 ReconsumeTimes 一直为 0,但实际业务中需要使用这个参数决定消息去留;
  • 对于消费成功的消息,在阿里云 RocketMQ 的消息查询-消息轨迹中,看不到消费信息,一直为尚未消费(如下图示)
rocketmq-sdk-issue

上述 2 点是否为同一问题的两个表现?一直没有找到问题原因,期盼大佬解决。

@nnhy
Copy link
Member

nnhy commented Dec 12, 2024

查一下 ReconsumeTimes 相关资料,有资料后才能把相关数据提交上去

@zhiyongpeng
Copy link
Author

大佬将该 SDK 用于阿里云 RocketMQ 时,没发现这个 ReconsumeTimes 一直为 0 的问题吗?还是实际业务中不关注这个?
使用阿里云提供的 SDK,重复消费时 ReconsumeTimes 是实际的消费次数,并且在阿里云 RocketMQ 的消息查询-消息轨迹中,可以看到消费信息——MQ 消息由哪个客户端消费以及消费耗时等等信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants