seaweedfs/weed/pb/mq.proto

29 lines
569 B
Protocol Buffer
Raw Normal View History

2020-04-16 09:21:23 +00:00
syntax = "proto3";
package messaging_pb;
2022-07-02 05:43:25 +00:00
option go_package = "github.com/chrislusf/seaweedfs/weed/pb/mq_pb";
2022-07-03 07:29:25 +00:00
option java_package = "seaweedfs.mq";
option java_outer_classname = "MessagQueueProto";
2020-04-16 09:21:23 +00:00
//////////////////////////////////////////////////
service SeaweedMessaging {
2020-05-05 09:05:28 +00:00
rpc FindBroker (FindBrokerRequest) returns (FindBrokerResponse) {
}
2020-04-16 09:21:23 +00:00
}
//////////////////////////////////////////////////
2020-05-05 09:05:28 +00:00
message FindBrokerRequest {
string namespace = 1;
string topic = 2;
int32 parition = 3;
}
message FindBrokerResponse {
string broker = 1;
}