Rename CLIENT_ID_MISSING as CLIENT_ID_REQUIRED (#50)
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 @@
// 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 | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |