Jennifer88huang commented on a change in pull request #4367:
[document][swagger]Update topics rest api document
URL: https://github.com/apache/pulsar/pull/4367#discussion_r287558830
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/PersistentTopics.java
##########
@@ -209,9 +261,16 @@ public PartitionedTopicMetadata
getPartitionedMetadata(@PathParam("tenant") Stri
@ApiResponse(code = 404, message = "Partitioned topic does not exist"),
@ApiResponse(code = 412, message = "Partitioned topic name is invalid")
})
- public void deletePartitionedTopic(@PathParam("tenant") String tenant,
@PathParam("namespace") String namespace,
+ public void deletePartitionedTopic(
+ @ApiParam(value = "Specify the tenant to which this topic
belongs", required = true)
+ @PathParam("tenant") String tenant,
+ @ApiParam(value = "Specify the namespace to which this topic
belongs", required = true)
+ @PathParam("namespace") String namespace,
+ @ApiParam(value = "Specifies topic name", required = true)
@PathParam("topic") @Encoded String encodedTopic,
+ @ApiParam(value = "Close all producer/consumer/replicator and
delete topic forcefully", defaultValue = "false", type = "boolean")
Review comment:
Could we use "stop" or "terminate" to replace "close"?
If so, you can check and refine the same cases in this file.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services