You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
569 B
28 lines
569 B
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;
|
|
}
|