codelipenghui commented on code in PR #16470:
URL: https://github.com/apache/pulsar/pull/16470#discussion_r917485990


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/lookup/v2/TopicLookup.java:
##########
@@ -72,6 +80,10 @@ public void lookupTopicAsync(
     @GET
     @Path("{topic-domain}/{tenant}/{namespace}/{topic}/bundle")
     @Produces(MediaType.APPLICATION_JSON)
+    @ApiOperation(
+            value = "Get the namespace bundle which contains the given topic.",

Review Comment:
   ```suggestion
               value = "Get the namespace bundle which the given topic belongs 
to.",
   ```



##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/lookup/v2/TopicLookup.java:
##########
@@ -45,6 +49,10 @@ public class TopicLookup extends TopicLookupBase {
     @GET
     @Path("{topic-domain}/{tenant}/{namespace}/{topic}")
     @Produces(MediaType.APPLICATION_JSON)
+    @ApiOperation(
+            value = "Look up a topic from the current serving broker.",

Review Comment:
   Should it be `Get the owner broker of the given topic`?



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