healchow commented on code in PR #8357:
URL: https://github.com/apache/inlong/pull/8357#discussion_r1246168244


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/queue/tubemq/TubeMQResourceOperator.java:
##########
@@ -108,4 +112,25 @@ public void deleteQueueForStream(InlongGroupInfo 
groupInfo, InlongStreamInfo str
         // currently, not support delete tubemq resource for stream
     }
 
+    public List<BriefMQMessage> queryLastestMessage(InlongGroupInfo groupInfo, 
InlongStreamInfo streamInfo,
+            Integer messageCount) {
+        Preconditions.expectNotNull(groupInfo, "inlong group info cannot be 
null");
+
+        String groupId = groupInfo.getInlongGroupId();
+        List<BriefMQMessage> briefMQMessages = new ArrayList<>();
+
+        try {
+            // 1. create tubemq topic

Review Comment:
   create topic here?



-- 
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]

Reply via email to