diff options
| author | chrislu <chrislu@roblox.com> | 2021-12-05 00:42:25 -0800 |
|---|---|---|
| committer | chrislu <chrislu@roblox.com> | 2021-12-05 00:42:25 -0800 |
| commit | b70cb3e0b2a75543f0410d4c09f42aa95fcf2ee2 (patch) | |
| tree | 3122ef4c9bba651c8b967741130f1abd89b6a63a /weed/messaging | |
| parent | f7229084a992e25fc8c73ff1ebf1e0d3b5aac3cd (diff) | |
| download | seaweedfs-b70cb3e0b2a75543f0410d4c09f42aa95fcf2ee2.tar.xz seaweedfs-b70cb3e0b2a75543f0410d4c09f42aa95fcf2ee2.zip | |
upgrade protoc to 3.17.3
$brew install protobuf
$ protoc --version
libprotoc 3.17.3
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
Diffstat (limited to 'weed/messaging')
| -rw-r--r-- | weed/messaging/broker/broker_server.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/messaging/broker/broker_server.go b/weed/messaging/broker/broker_server.go index fd41dd441..193c1c689 100644 --- a/weed/messaging/broker/broker_server.go +++ b/weed/messaging/broker/broker_server.go @@ -2,6 +2,7 @@ package broker import ( "context" + "github.com/chrislusf/seaweedfs/weed/pb/messaging_pb" "time" "google.golang.org/grpc" @@ -22,6 +23,7 @@ type MessageBrokerOption struct { } type MessageBroker struct { + messaging_pb.UnimplementedSeaweedMessagingServer option *MessageBrokerOption grpcDialOption grpc.DialOption topicManager *TopicManager |
