healchow commented on code in PR #7171: URL: https://github.com/apache/inlong/pull/7171#discussion_r1063978323
########## inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/listener/consume/apply/ApproveConsumeProcessListener.java: ########## @@ -130,17 +130,17 @@ private void createPulsarSubscription(InlongConsumeEntity entity) { ClusterInfo clusterInfo = clusterService.getOne(clusterTag, null, ClusterType.PULSAR); PulsarClusterInfo pulsarCluster = (PulsarClusterInfo) clusterInfo; try (PulsarAdmin pulsarAdmin = PulsarUtils.getPulsarAdmin(pulsarCluster)) { - PulsarTopicInfo topicMessage = new PulsarTopicInfo(); - String tenant = pulsarCluster.getTenant(); + InlongPulsarDTO pulsarDTO = InlongPulsarDTO.getFromJson(groupEntity.getExtParams()); + String tenant = pulsarDTO.getTenant(); if (StringUtils.isEmpty(tenant)) { Review Comment: Modified. -- 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