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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
refactoring
Chris Lubc0323336448
diff --git a/weed/notification/configuration.go b/weed/notification/configuration.goindex 6ac693ad8c..96087987dd 100644--- a/weed/notification/configuration.go+++ b/weed/notification/configuration.go@@ -3,8 +3,18 @@ package notificationimport ("github.com/chrislusf/seaweedfs/weed/glog""github.com/spf13/viper"+ "github.com/chrislusf/seaweedfs/weed/util"+ "github.com/golang/protobuf/proto")+type MessageQueue interface {+ // GetName gets the name to locate the configuration in filer.toml file+ GetName() string+ // Initialize initializes the file store+ Initialize(configuration util.Configuration) error+ SendMessage(key string, message proto.Message) error+}+var (MessageQueues []MessageQueuediff --git a/weed/notification/message_queue.go b/weed/notification/message_queue.godeleted file mode 100644index 18c4a88303..0000000000--- a/weed/notification/message_queue.go+++ /dev/null@@ -1,14 +0,0 @@-package notification--import (- "github.com/chrislusf/seaweedfs/weed/util"- "github.com/golang/protobuf/proto"-)--type MessageQueue interface {- // GetName gets the name to locate the configuration in message_queue.toml file- GetName() string- // Initialize initializes the file store- Initialize(configuration util.Configuration) error- SendMessage(key string, message proto.Message) error-}