From 0d352dbc5a524176326775e43da39b908ab5c91f Mon Sep 17 00:00:00 2001 From: Aaron Ai Date: Wed, 29 Jun 2022 19:55:39 +0800 Subject: [PATCH] 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 | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |