question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not found the consumer group consume stats, because return offset table is empty, maybe the consumer not consume any message

See original GitHub issue

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)? 当我配置一个BROADCASTING的消费者时,消息被正确的消费,但是通过shell命令查看消息状态(sh mqadmin consumerProgress -n XXX -g XXX)时报错如下: image 我确定消息是被正确的消费了,并且consumer返回了正确状态值(ConsumeConcurrentlyStatus.CONSUME_SUCCESS)。 但是当我把messageModel改成CLUSTERING时却不会有这样的问题,。 image 我想知道这个是不是rocketMQ的bug。

  • What did you expect to see?

  • What did you see instead? 我现在需要使用rocketMQ广播消费的特性,并且需要对消息的情况做监控,所以需要查看消息的状态。

  1. Please tell us about your environment: CentOS release 6.2 服务端版本: 4.1.0-incubating 客户端版本:4.1.0-incubating
  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
alisanguocommented, Oct 15, 2019

我也碰到了相同的问题,小伙伴们有解决吗? I have the same question, do you have any solution?

0reactions
RongtongJincommented, Dec 13, 2019

我也遇到了这个问题 现在有解决方案了吗

这是一个设计问题。RocketMQ客户端在广播模式下将消费进度记录在本地,而不是broker端。而admin tool查询的是broker端。因此获取不到消费进度。 如果需要获取广播模式的消费进度,默认在客户端机器的主目录/.rocketmq_offsets/${clientId}/${groupName}/offsets.json中。

Read more comments on GitHub >

github_iconTop Results From Across the Web

ConsumeStats.setConsumeTps - apache/rocketmq - Tabnine
CONSUMER_NOT_ONLINE, "Not found the consumer group consume stats, because return offset table is empty, maybe the consumer not consume any message"); ...
Read more >
Not found the consumer group consume stats, because return ...
dutyu opened a new issue #296: Not found the consumer group consume stats, because return offset table is empty, maybe the consumer not...
Read more >
console下显示消费者的trackType是NOT_ONLINE? - 净瞎扯的 ...
Not found the consumer group consume stats, because return offset table is empty, maybe the consum…
Read more >
Kafka Consumer Auto Offset Reset - Lydtech Consulting
The auto offset reset consumer configuration defines how a consumer should behave when consuming from a topic partition when there is no initial...
Read more >
org.apache.rocketmq.common.admin.ConsumeStats ...
CONSUMER_NOT_ONLINE, "Not found the consumer group consume stats, because return offset table is empty, maybe the consumer not consume any message"); ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found