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/06/29 11:55:44 UTC
[rocketmq-apis] branch main updated: Rename CLIENT_ID_MISSING as CLIENT_ID_REQUIRED (#50)
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 0d352db Rename CLIENT_ID_MISSING as CLIENT_ID_REQUIRED (#50)
0d352db is described below
commit 0d352dbc5a524176326775e43da39b908ab5c91f
Author: Aaron Ai <ya...@alibaba-inc.com>
AuthorDate: Wed Jun 29 19:55:39 2022 +0800
Rename CLIENT_ID_MISSING as CLIENT_ID_REQUIRED (#50)
---
apache/rocketmq/v2/definition.proto | 2 +-
status_code.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/apache/rocketmq/v2/definition.proto b/apache/rocketmq/v2/definition.proto
index 72548cd..71dc72b 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -336,7 +336,7 @@ enum Code {
// Message is corrupted.
MESSAGE_CORRUPTED = 40016;
// Request is rejected due to missing of x-mq-client-id header.
- CLIENT_ID_MISSING = 40017;
+ CLIENT_ID_REQUIRED = 40017;
// Generic code indicates that the client request lacks valid authentication
// credentials for the requested resource.
diff --git a/status_code.md b/status_code.md
index 2c0564e..732e828 100644
--- a/status_code.md
+++ b/status_code.md
@@ -35,7 +35,7 @@
| UNRECOGNIZED_CLIENT_TYPE | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ |
| MULTIPLE_RESULTS | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
| BAD_REQUEST | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
-| CLIENT_ID_MISSING | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
+| CLIENT_ID_REQUIRED | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| INTERNAL_SERVER_ERROR | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| NOT_IMPLEMENTED | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| PROXY_TIMEOUT | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |