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 0d4c0c1  add ILLEGAL_INVISIBLE_TIME and ILLEGAL_DELIVERY_TIME (#54)
0d4c0c1 is described below

commit 0d4c0c15ffca1eb08119dec5185a147a0a6d381c
Author: lk <[email protected]>
AuthorDate: Mon Jul 11 15:44:55 2022 +0800

    add ILLEGAL_INVISIBLE_TIME and ILLEGAL_DELIVERY_TIME (#54)
---
 apache/rocketmq/v2/definition.proto | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/apache/rocketmq/v2/definition.proto 
b/apache/rocketmq/v2/definition.proto
index ea9514c..d8cf3c8 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -323,16 +323,20 @@ enum Code {
   ILLEGAL_MESSAGE_ID = 40009;
   // Format of filter expression is illegal.
   ILLEGAL_FILTER_EXPRESSION = 40010;
+  // The invisible time of request is invalid.
+  ILLEGAL_INVISIBLE_TIME = 40011;
+  // The delivery timestamp of message is invalid.
+  ILLEGAL_DELIVERY_TIME = 40012;
   // Receipt handle of message is invalid.
-  INVALID_RECEIPT_HANDLE = 40011;
+  INVALID_RECEIPT_HANDLE = 40013;
   // Message property conflicts with its type.
-  MESSAGE_PROPERTY_CONFLICT_WITH_TYPE = 40012;
+  MESSAGE_PROPERTY_CONFLICT_WITH_TYPE = 40014;
   // Client type could not be recognized.
-  UNRECOGNIZED_CLIENT_TYPE = 40013;
+  UNRECOGNIZED_CLIENT_TYPE = 40015;
   // Message is corrupted.
-  MESSAGE_CORRUPTED = 40014;
+  MESSAGE_CORRUPTED = 40016;
   // Request is rejected due to missing of x-mq-client-id header.
-  CLIENT_ID_REQUIRED = 40015;
+  CLIENT_ID_REQUIRED = 40017;
 
   // Generic code indicates that the client request lacks valid authentication
   // credentials for the requested resource.

Reply via email to