Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

add an empty placeholder for mq.topic.list

chrislua3fae7cd163b
diff --git a/weed/shell/command_mq_topic_list.go b/weed/shell/command_mq_topic_list.go
new file mode 100644
index 0000000000..a069b0614c
--- /dev/null
+++ b/weed/shell/command_mq_topic_list.go
@@ -0,0 +1,28 @@
+package shell
+
+import (
+ "fmt"
+ "io"
+)
+
+func init() {
+ Commands = append(Commands, &commandMqTopicList{})
+}
+
+type commandMqTopicList struct {
+}
+
+func (c *commandMqTopicList) Name() string {
+ return "mq.topic.list"
+}
+
+func (c *commandMqTopicList) Help() string {
+ return `print out all topics`
+}
+
+func (c *commandMqTopicList) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
+
+ fmt.Fprintf(writer, "%s\n", commandEnv.option.Directory)
+
+ return nil
+}