]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rgw/notification: add missing admin commands 60608/head
authorYuval Lifshitz <ylifshit@ibm.com>
Mon, 4 Nov 2024 14:24:22 +0000 (14:24 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Mon, 4 Nov 2024 14:24:22 +0000 (14:24 +0000)
also remove obsolete admin commands

Fixes: https://tracker.ceph.com/issues/68818
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
doc/man/8/radosgw-admin.rst
doc/radosgw/notifications.rst

index 7dfa59a61b1a9f65f3944a0ff65b788fcaa9380b..c7750c348adb813040d3a2cbf7b56e604bbc3bc2 100644 (file)
@@ -476,26 +476,19 @@ as follows:
   Cancel resharding a bucket
 
 :command:`topic list`
-  List bucket notifications/pubsub topics                                                   
+  List bucket notifications topics
 
 :command:`topic get`
-  Get a bucket notifications/pubsub topic                                                   
-  
-:command:`topic rm`
-  Remove a bucket notifications/pubsub topic                                                
+  Get a bucket notification topic 
 
-:command:`subscription get`
-  Get a pubsub subscription definition
-
-:command:`subscription rm`
-  Remove a pubsub subscription
+:command:`topic rm`
+  Remove a bucket notifications topic 
 
-:command:`subscription pull`
-  Show events in a pubsub subscription
-             
-:command:`subscription ack`
-  Acknowledge (remove) events in a pubsub subscription
+:command:`topic stats`
+  Get a bucket notifications persistent topic stats (i.e. reservations, entries & size)
 
+:command:`topic dump`
+  Dump (in JSON format) all pending bucket notifications of a persistent topic
 
 Options
 =======
index 2bbd2c52edfe4a5838882337ed5b48ebf4383f6e..f352b57afb8cb94ba76363d37120510a3a3405c3 100644 (file)
@@ -104,6 +104,18 @@ Remove a topic by running the following command:
 
    radosgw-admin topic rm --topic={topic-name} [--tenant={tenant}]
 
+Fetch persistent topic stats (i.e. reservations, entries and size) by running the following command: 
+
+.. prompt:: bash #
+
+   radosgw-admin topic stats --topic={topic-name} [--tenant={tenant}]
+
+Dump (in JSON format) all pending bucket notifications of a persistent topic by running the following command: 
+
+.. prompt:: bash #
+
+   radosgw-admin topic dump --topic={topic-name} [--tenant={tenant}] [--max-entries={max-entries}]
+
 
 Notification Performance Statistics
 -----------------------------------