LvChenhui opened a new issue #3673:
URL: https://github.com/apache/rocketmq/issues/3673
when we use method resetOffsetByTimestampMillis to reset offset,at the same
time,our consumer not online,actual use method resetOffsetByTimestampOld.
**topicRouteMap** store the relationship between brokerAddr and
readQueueNums,but
in the following code,the latter readQueueNumber will cover the former.
```
TopicRouteData topicRouteData = this.examineTopicRouteInfo(topic);
List<RollbackStats> rollbackStatsList = new
ArrayList<RollbackStats>();
Map<String, Integer> topicRouteMap = new HashMap<String, Integer>();
for (BrokerData bd : topicRouteData.getBrokerDatas()) {
for (QueueData queueData : topicRouteData.getQueueDatas()) {
topicRouteMap.put(bd.selectBrokerAddr(),
queueData.getReadQueueNums());
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]