feat(kafka): redesign message browsing
This commit is contained in:
1 parent
2e57ac8bc0
commit
ae87353a28
32 files changed
+2776
-624
No files matched your search
@@ -151,7 +151,8 @@ async function runQuery() {
|
||||
} else {
|
||||
const group = consumerGroup.value.trim() || "__dbx_rocketmq_dlq__";
|
||||
const peeked = await mqPeekMessages(props.connectionId, topic, group, 64);
|
||||
queryMessages.value = peeked.map((msg) => rocketMqDisplayFromPeeked(msg, topic.topic));
|
||||
const messages = Array.isArray(peeked) ? peeked : peeked.messages;
|
||||
queryMessages.value = messages.map((msg) => rocketMqDisplayFromPeeked(msg, topic.topic));
|
||||
}
|
||||
} else if (activeQueryMode.value === "msgId") {
|
||||
const id = queryMsgId.value.trim();
|
||||
|
||||
Reference in new issue
Block a user