mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-03 18:19:04 +08:00
29 lines
569 B
Protocol Buffer
29 lines
569 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package messaging_pb;
|
|
|
|
option go_package = "github.com/chrislusf/seaweedfs/weed/pb/mq_pb";
|
|
option java_package = "seaweedfs.mq";
|
|
option java_outer_classname = "MessagQueueProto";
|
|
|
|
//////////////////////////////////////////////////
|
|
|
|
service SeaweedMessaging {
|
|
|
|
rpc FindBroker (FindBrokerRequest) returns (FindBrokerResponse) {
|
|
}
|
|
|
|
}
|
|
|
|
//////////////////////////////////////////////////
|
|
|
|
message FindBrokerRequest {
|
|
string namespace = 1;
|
|
string topic = 2;
|
|
int32 parition = 3;
|
|
}
|
|
|
|
message FindBrokerResponse {
|
|
string broker = 1;
|
|
}
|