diff options
Diffstat (limited to 'weed/pb/mq.proto')
| -rw-r--r-- | weed/pb/mq.proto | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/weed/pb/mq.proto b/weed/pb/mq.proto index 53b2fa2f4..ce23b8f6f 100644 --- a/weed/pb/mq.proto +++ b/weed/pb/mq.proto @@ -30,6 +30,8 @@ service SeaweedMessaging { } rpc DoCreateTopic (DoCreateTopicRequest) returns (DoCreateTopicResponse) { } + rpc ListTopics (ListTopicsRequest) returns (ListTopicsResponse) { + } // a pub client will call this to get the topic partitions assignment rpc RequestTopicPartitions (RequestTopicPartitionsRequest) returns (RequestTopicPartitionsResponse) { } @@ -145,6 +147,11 @@ message DoCreateTopicRequest { } message DoCreateTopicResponse { } +message ListTopicsRequest { +} +message ListTopicsResponse { + repeated Topic topics = 1; +} message LookupTopicBrokersRequest { Topic topic = 1; bool is_for_publish = 2; |
