vernedeng commented on code in PR #7068:
URL: https://github.com/apache/inlong/pull/7068#discussion_r1057156648


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/consume/ConsumePulsarOperator.java:
##########
@@ -103,7 +107,16 @@ public InlongConsumeInfo getFromEntity(InlongConsumeEntity 
entity) {
             ConsumePulsarDTO dto = 
ConsumePulsarDTO.getFromJson(entity.getExtParams());
             CommonBeanUtils.copyProperties(dto, consumeInfo);
         }
-
+        String groupId = entity.getInlongGroupId();
+        InlongGroupInfo groupInfo = groupService.get(groupId);
+        String clusterTag = groupInfo.getInlongClusterTag();
+        PulsarClusterInfo clusterInfo = (PulsarClusterInfo) 
clusterService.getOne(clusterTag, null,

Review Comment:
   Should get all cluster infos under this tag.



-- 
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-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to