You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/03/29 03:07:07 UTC
[rocketmq-apis] branch v2 updated: Add not-impelement code
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 986ae57 Add not-impelement code
986ae57 is described below
commit 986ae57077aeb95dfb6709112f8b2dc6dc653482
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Tue Mar 29 03:07:00 2022 +0000
Add not-impelement code
---
apache/rocketmq/v2/definition.proto | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/apache/rocketmq/v2/definition.proto b/apache/rocketmq/v2/definition.proto
index 278bc7b..bde2ce9 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -458,6 +458,10 @@ enum Code {
// See https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
INTERNAL_SERVER_ERROR = 500;
+ // Code means that the server or client does not support the functionality
+ // required to fulfill the request.
+ NOT_IMPELEMENTED = 501;
+
// Code indicates that the server, while acting as a gateway or proxy,
// did not get a response in time from the upstream server that
// it needed in order to complete the request.