You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/05/12 05:47:06 UTC

[GitHub] [rocketmq-apis] lizhanhui commented on a diff in pull request #31: Add admin api

lizhanhui commented on code in PR #31:
URL: https://github.com/apache/rocketmq-apis/pull/31#discussion_r870970201


##########
apache/rocketmq/v2/admin.proto:
##########
@@ -38,6 +43,105 @@ message ChangeLogLevelRequest {
 
 message ChangeLogLevelResponse { string remark = 1; }
 
+message DescribeTopicStatusRequest {
+  optional string instance_id = 1;
+  Resource topic = 2;
+}
+
+message DescribeTopicStatusResponse {
+  Status status = 1;
+  MessageType topic_message_type = 2;
+  string description = 3;
+  google.protobuf.Timestamp create_timestamp = 4;
+  map<string, string> tags = 5;
+}
+
+message DescribeTopicSubscriptionRequest {
+  optional string instance_id = 1;
+  Resource topic = 2;
+}
+
+message DescribeTopicSubscriptionResponse {
+  message SubscriptionInfo {
+    Resource group = 1;
+    FilterExpression expression = 2;
+    bool online = 3;
+    google.protobuf.Timestamp last_update_timestamp = 4;
+  }
+  Status status = 1;
+  repeated SubscriptionInfo subscriptionInfo = 2;
+}
+
+message DescribeConsumerAccumulateRequest {
+  optional string instance_id = 1;
+  Resource group = 2;
+  repeated Resource topics = 3;
+}
+
+message DescribeConsumerAccumulateResponse {
+  Status status = 1;
+}
+
+message DescribeConsumerStatusRequest {
+  optional string instance_id = 1;
+  Resource group = 2;
+}
+
+message DescribeConsumerStatusResponse {
+  Status status = 1;
+  int64 inflight_messages = 2;
+  int64 ready_messages = 3;
+  int64 accumulation = 4;
+  google.protobuf.Duration deliver_delay_time = 5;
+}
+
+message ResetConsumeOffsetRequest {

Review Comment:
   Will ResetGroupOffsetRequest be somewhat more descriptive?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org