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 bb57714  Add RequestTimeout
bb57714 is described below

commit bb57714d48764014b0325502b0b511a701dda012
Author: Li Zhanhui <[email protected]>
AuthorDate: Thu Jun 30 14:45:59 2022 +0800

    Add RequestTimeout
---
 apache/rocketmq/v2/definition.proto | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/apache/rocketmq/v2/definition.proto 
b/apache/rocketmq/v2/definition.proto
index 0164915..52bc8f2 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -353,8 +353,12 @@ enum Code {
   // Consumer group resource does not exist.
   CONSUMER_GROUP_NOT_FOUND = 40403;
 
-  // Generic code represents that the request entity is larger than limits 
defined by server.
+  // Generic code representing client side timeout when connecting to, reading 
data from, or write data to server.
+  REQUEST_TIMEOUT = 40800;
+
+  // Generic code represents that the request entity is larger than limits 
defined by server. 
   PAYLOAD_TOO_LARGE = 41300;
+
   // Message body size exceeds the threshold.
   MESSAGE_BODY_TOO_LARGE = 41301;
 

Reply via email to