mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 14:09:23 +08:00
remove configurable topics folder location
This commit is contained in:
@@ -62,18 +62,14 @@ func (msgBrokerOpt *QueueOptions) startQueueServer() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
filerQueuesPath := "/queues"
|
||||
|
||||
grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client")
|
||||
|
||||
for {
|
||||
err = pb.WithGrpcFilerClient(filerGrpcAddress, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error {
|
||||
resp, err := client.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{})
|
||||
_, err := client.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{})
|
||||
if err != nil {
|
||||
return fmt.Errorf("get filer %s configuration: %v", filerGrpcAddress, err)
|
||||
}
|
||||
filerQueuesPath = resp.DirQueues
|
||||
glog.V(0).Infof("Queue read filer queues dir: %s", filerQueuesPath)
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
|
@@ -80,8 +80,6 @@ buckets_fsync = [ # a list of buckets with all write requests fsync=tru
|
||||
"important_bucket",
|
||||
"should_always_fsync",
|
||||
]
|
||||
# directories under this folder will be store message queue data
|
||||
queues_folder = "/queues"
|
||||
|
||||
####################################################
|
||||
# The following are filer store options
|
||||
|
Reference in New Issue
Block a user