do create topic
This commit is contained in:
@@ -28,6 +28,8 @@ service SeaweedMessaging {
|
||||
}
|
||||
rpc CreateTopic (CreateTopicRequest) returns (CreateTopicResponse) {
|
||||
}
|
||||
rpc DoCreateTopic (DoCreateTopicRequest) returns (DoCreateTopicResponse) {
|
||||
}
|
||||
// a pub client will call this to get the topic partitions assignment
|
||||
rpc RequestTopicPartitions (RequestTopicPartitionsRequest) returns (RequestTopicPartitionsResponse) {
|
||||
}
|
||||
@@ -137,6 +139,12 @@ message CreateTopicRequest {
|
||||
message CreateTopicResponse {
|
||||
repeated BrokerPartitionAssignment broker_partition_assignments = 2;
|
||||
}
|
||||
message DoCreateTopicRequest {
|
||||
Topic topic = 1;
|
||||
Partition partition = 2;
|
||||
}
|
||||
message DoCreateTopicResponse {
|
||||
}
|
||||
message LookupTopicBrokersRequest {
|
||||
Topic topic = 1;
|
||||
bool is_for_publish = 2;
|
||||
|
||||
Reference in New Issue
Block a user