This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 7d5002c7a58 [fix][broker] Fix incorrect API documentation for 
non-persistent topic (#24413)
7d5002c7a58 is described below

commit 7d5002c7a58b507994b928af8beac28d0c07c21f
Author: Joforde <[email protected]>
AuthorDate: Wed Jun 18 06:42:18 2025 +0800

    [fix][broker] Fix incorrect API documentation for non-persistent topic 
(#24413)
---
 .../src/main/java/org/apache/pulsar/broker/rest/Topics.java          | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/rest/Topics.java 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/rest/Topics.java
index f1e7009df02..36a340dc2b1 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/rest/Topics.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/rest/Topics.java
@@ -104,7 +104,8 @@ public class Topics extends TopicsBase {
 
     @POST
     @Path("/non-persistent/{tenant}/{namespace}/{topic}")
-    @ApiOperation(value = "Produce message to a persistent topic.", response = 
String.class, responseContainer = "List")
+    @ApiOperation(value = "Produce message to a non-persistent topic.", 
response = String.class,
+            responseContainer = "List")
     @ApiResponses(value = {
             @ApiResponse(code = 401, message = "Client is not authorized to 
perform operation"),
             @ApiResponse(code = 404, message = "tenant/namespace/topic doesn't 
exit"),
@@ -132,7 +133,7 @@ public class Topics extends TopicsBase {
 
     @POST
     
@Path("/non-persistent/{tenant}/{namespace}/{topic}/partitions/{partition}")
-    @ApiOperation(value = "Produce message to a partition of a persistent 
topic.",
+    @ApiOperation(value = "Produce message to a partition of a non-persistent 
topic.",
             response = String.class, responseContainer = "List")
     @ApiResponses(value = {
             @ApiResponse(code = 401, message = "Client is not authorized to 
perform operation"),

Reply via email to