You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "OlnyBigRoc (via GitHub)" <gi...@apache.org> on 2025/04/21 10:10:24 UTC
Re: [I] topic store-time 的排序是乱序的 [rocketmq-dashboard]
OlnyBigRoc commented on issue #191:
URL: https://github.com/apache/rocketmq-dashboard/issues/191#issuecomment-2818097859
Emmm.... 检查了一下不知道哪里给过排序代码手动排一下

```java
messageViews.sort((o1, o2) -> {
long time1 = o1.getStoreTimestamp();
long time2 = o2.getStoreTimestamp();
return Long.compare(time2, time1);
});
```
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org