aboutsummaryrefslogtreecommitdiff
path: root/weed/server
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-16 02:21:23 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-16 02:21:23 -0700
commitce4b369be25f61be0810e2bc119964b613cca121 (patch)
tree8912660d5036999750456a75a7afe76323643dc5 /weed/server
parent5f772dacd2a494c8912dd60c425f022e5d32989a (diff)
downloadseaweedfs-ce4b369be25f61be0810e2bc119964b613cca121.tar.xz
seaweedfs-ce4b369be25f61be0810e2bc119964b613cca121.zip
scaffolding messaging
Diffstat (limited to 'weed/server')
-rw-r--r--weed/server/msg_broker_grpc_server.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/weed/server/msg_broker_grpc_server.go b/weed/server/msg_broker_grpc_server.go
index 8b13aac76..6feaa0c63 100644
--- a/weed/server/msg_broker_grpc_server.go
+++ b/weed/server/msg_broker_grpc_server.go
@@ -3,21 +3,21 @@ package weed_server
import (
"context"
- "github.com/chrislusf/seaweedfs/weed/pb/queue_pb"
+ "github.com/chrislusf/seaweedfs/weed/pb/messaging_pb"
)
-func (broker *MessageBroker) ConfigureTopic(context.Context, *queue_pb.ConfigureTopicRequest) (*queue_pb.ConfigureTopicResponse, error) {
+func (broker *MessageBroker) Subscribe(request *messaging_pb.SubscribeRequest, server messaging_pb.SeaweedMessaging_SubscribeServer) error {
panic("implement me")
}
-func (broker *MessageBroker) DeleteTopic(context.Context, *queue_pb.DeleteTopicRequest) (*queue_pb.DeleteTopicResponse, error) {
+func (broker *MessageBroker) Publish(server messaging_pb.SeaweedMessaging_PublishServer) error {
panic("implement me")
}
-func (broker *MessageBroker) StreamWrite(queue_pb.SeaweedQueue_StreamWriteServer) error {
+func (broker *MessageBroker) ConfigureTopic(c context.Context, request *messaging_pb.ConfigureTopicRequest) (*messaging_pb.ConfigureTopicResponse, error) {
panic("implement me")
}
-func (broker *MessageBroker) StreamRead(*queue_pb.ReadMessageRequest, queue_pb.SeaweedQueue_StreamReadServer) error {
+func (broker *MessageBroker) GetTopicConfiguration(c context.Context, request *messaging_pb.GetTopicConfigurationRequest) (*messaging_pb.GetTopicConfigurationResponse, error) {
panic("implement me")
}