seaweedfs/weed/pb/mq.proto

26 lines
520 B
Protocol Buffer
Raw Normal View History

2020-04-16 17:21:23 +08:00
syntax = "proto3";
package messaging_pb;
2022-07-02 13:43:25 +08:00
option go_package = "github.com/chrislusf/seaweedfs/weed/pb/mq_pb";
2022-07-03 15:29:25 +08:00
option java_package = "seaweedfs.mq";
option java_outer_classname = "MessagQueueProto";
2020-04-16 17:21:23 +08:00
//////////////////////////////////////////////////
service SeaweedMessaging {
2022-07-11 03:11:37 +08:00
rpc FindBrokerLeader (FindBrokerLeader) returns (FindBrokerLeaderResponse) {
2020-05-05 17:05:28 +08:00
}
2020-04-16 17:21:23 +08:00
}
//////////////////////////////////////////////////
2022-07-11 03:11:37 +08:00
message FindBrokerLeaderRequest {
2020-05-05 17:05:28 +08:00
}
2022-07-11 03:11:37 +08:00
message FindBrokerLeaderResponse {
2020-05-05 17:05:28 +08:00
string broker = 1;
}