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.

rename

chrislu928a4e8dff01
diff --git a/.gitignore b/.gitignore
index 2a858c427b..c3cb0386ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -87,7 +87,7 @@ other/java/hdfs/dependency-reduced-pom.xml
# binary file
weed/weed
-weed/mq/client/cmd/weed_pub/weed_pub
+weed/mq/client/cmd/weed_pub_kv/weed_pub
docker/weed
# test generated files
diff --git a/weed/mq/client/cmd/weed_pub/publisher.go b/weed/mq/client/cmd/weed_pub_kv/publisher_kv.go
similarity index 99%
rename from weed/mq/client/cmd/weed_pub/publisher.go
rename to weed/mq/client/cmd/weed_pub_kv/publisher_kv.go
index 482e283846..59842c21f8 100644
--- a/weed/mq/client/cmd/weed_pub/publisher.go
+++ b/weed/mq/client/cmd/weed_pub_kv/publisher_kv.go
@@ -45,6 +45,7 @@ func doPublish(publisher *pub_client.TopicPublisher, id int) {
func main() {
flag.Parse()
+
config := &pub_client.PublisherConfiguration{
Topic: topic.NewTopic(*namespace, *t),
PartitionCount: int32(*partitionCount),