This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-apis.git
The following commit(s) were added to refs/heads/main by this push:
new cb7bbbc Add comments for status in
ReportMessageConsumptionResultRequest (#8)
cb7bbbc is described below
commit cb7bbbc30beb5bc7efba42da7b3aabbad27203e0
Author: aaron ai <[email protected]>
AuthorDate: Fri Oct 15 13:48:33 2021 +0800
Add comments for status in ReportMessageConsumptionResultRequest (#8)
---
apache/rocketmq/v1/service.proto | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/apache/rocketmq/v1/service.proto b/apache/rocketmq/v1/service.proto
index f04c2d6..b869081 100644
--- a/apache/rocketmq/v1/service.proto
+++ b/apache/rocketmq/v1/service.proto
@@ -308,6 +308,10 @@ message VerifyMessageConsumptionCommand {
message ReportMessageConsumptionResultRequest {
string command_id = 1;
+
+ // 1. Return `INVALID_ARGUMENT` if message is corrupted.
+ // 2. Return `INTERNAL` if failed to consume message.
+ // 3. Return `OK` if success.
google.rpc.Status status = 2;
reserved 3 to 64;