This is an automated email from the ASF dual-hosted git repository.

lizhanhui pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git


The following commit(s) were added to refs/heads/v2 by this push:
     new 89edda8  Add status for TelemetryCommand
89edda8 is described below

commit 89edda8c00841b4a7b371d4934b8b2de50deae08
Author: Li Zhanhui <[email protected]>
AuthorDate: Tue May 17 06:09:06 2022 +0000

    Add status for TelemetryCommand
---
 apache/rocketmq/v2/service.proto | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/apache/rocketmq/v2/service.proto b/apache/rocketmq/v2/service.proto
index 34c4a24..27508ee 100644
--- a/apache/rocketmq/v2/service.proto
+++ b/apache/rocketmq/v2/service.proto
@@ -257,22 +257,30 @@ message Settings {
 }
 
 message TelemetryCommand {
+  Status status = 1;
+
   oneof command {
-    Settings settings = 1;
+    // Client settings
+    Settings settings = 2;
+
     // These messages are from client.
     //
     // Report thread stack trace to server.
-    ThreadStackTrace thread_stack_trace = 2;
+    ThreadStackTrace thread_stack_trace = 3;
+
     // Report message verify result to server.
-    VerifyMessageResult verify_message_result = 3;
+    VerifyMessageResult verify_message_result = 4;
+
     // There messages are from server.
     //
     // Request client to recover the orphaned transaction message.
-    RecoverOrphanedTransactionCommand recover_orphaned_transaction_command = 4;
+    RecoverOrphanedTransactionCommand recover_orphaned_transaction_command = 5;
+
     // Request client to print thread stack trace.
-    PrintThreadStackTraceCommand print_thread_stack_trace_command = 5;
+    PrintThreadStackTraceCommand print_thread_stack_trace_command = 6;
+
     // Request client to verify the consumption of the appointed message.
-    VerifyMessageCommand verify_message_command = 6;
+    VerifyMessageCommand verify_message_command = 7;
   }
 }
 

Reply via email to