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


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/queue/pulsar/PulsarOperator.java:
##########
@@ -292,6 +292,9 @@ public boolean topicExists(PulsarAdmin pulsarAdmin, String 
tenant, String namesp
             }
             for (String t : topicList) {
                 t = t.substring(t.lastIndexOf("/") + 1); // not contains /
+                if (!isPartitioned) {
+                    t = t.substring(0, t.lastIndexOf("-partition-"));

Review Comment:
   @aloyszhang  @lordcheng10 PTAL



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