diff options
| author | chrislu <chris.lu@gmail.com> | 2022-07-10 12:11:37 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-07-10 12:11:37 -0700 |
| commit | ef93869009f12f9c7af4876dd4f9a5813ba90dec (patch) | |
| tree | fabf9aca5a13188bc1d9a6c2e4973555bd4f6b7f /weed/pb/mq.proto | |
| parent | 7db6666b9784d48f3ac7ef621714d114ff05d537 (diff) | |
| download | seaweedfs-ef93869009f12f9c7af4876dd4f9a5813ba90dec.tar.xz seaweedfs-ef93869009f12f9c7af4876dd4f9a5813ba90dec.zip | |
clean up
Diffstat (limited to 'weed/pb/mq.proto')
| -rw-r--r-- | weed/pb/mq.proto | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/weed/pb/mq.proto b/weed/pb/mq.proto index 44291c173..47bd1775e 100644 --- a/weed/pb/mq.proto +++ b/weed/pb/mq.proto @@ -10,19 +10,16 @@ option java_outer_classname = "MessagQueueProto"; service SeaweedMessaging { - rpc FindBroker (FindBrokerRequest) returns (FindBrokerResponse) { + rpc FindBrokerLeader (FindBrokerLeader) returns (FindBrokerLeaderResponse) { } } ////////////////////////////////////////////////// -message FindBrokerRequest { - string namespace = 1; - string topic = 2; - int32 parition = 3; +message FindBrokerLeaderRequest { } -message FindBrokerResponse { +message FindBrokerLeaderResponse { string broker = 1; } |
