Using the command-line interface for topic management
List, get, and remove topics by using the command-line interface.
Prerequisites
-
Root-level access to the Ceph Object Gateway node.
-
To get a list of all topics of a user:
Syntax
radosgw-admin topic list --uid=USER_IDExample
[root@rgw ~]# radosgw-admin topic list --uid=example -
To get configuration of a specific topic:
Syntax
radosgw-admin topic get --uid=USER_ID --topic=TOPIC_NAMEExample
[root@rgw ~]# radosgw-admin topic get --uid=example --topic=example-topic -
To remove a specific topic:
Syntax
radosgw-admin topic rm --uid=USER_ID --topic=TOPIC_NAMEExample
[root@rgw ~]# radosgw-admin topic rm --uid=example --topic=example-topic