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/07/28 12:17:16 UTC

[rocketmq-apis] branch main updated: add ILLEGAL_POLLING_TIME (#63)

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 d78d4ac  add ILLEGAL_POLLING_TIME (#63)
d78d4ac is described below

commit d78d4acfc2d262e427ec301f5e9858a1d3313359
Author: lk <ka...@alibaba-inc.com>
AuthorDate: Thu Jul 28 20:17:11 2022 +0800

    add ILLEGAL_POLLING_TIME (#63)
---
 StatusCode.md                       | 1 +
 apache/rocketmq/v2/definition.proto | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/StatusCode.md b/StatusCode.md
index c50c6b2..76aaa3d 100644
--- a/StatusCode.md
+++ b/StatusCode.md
@@ -21,6 +21,7 @@
 |      ILLEGAL_FILTER_EXPRESSION      |     ❌      |     ❌     |      ❌      |        ❌        |       ✅        |     ❌      |                ❌                |       ❌        |            ❌            |            ❌            |
 |      ILLEGAL_INVISIBLE_TIME         |     ❌      |     ❌     |      ❌      |        ❌        |       ✅        |     ❌      |                ❌                |       ❌        |            ❌            |            ✅            |
 |      ILLEGAL_DELIVERY_TIME          |     ❌      |     ❌     |      ✅      |        ❌        |       ❌        |     ❌      |                ❌                |       ❌        |            ❌            |            ❌            |
+|       ILLEGAL_POLLING_TIME          |     ❌      |     ❌     |      ❌      |        ❌        |       ✅        |     ❌      |                ❌                |       ❌        |            ❌            |            ❌            |
 |       INVALID_RECEIPT_HANDLE        |     ❌      |     ❌     |      ❌      |        ❌        |       ❌        |     ✅      |                ✅                |       ❌        |            ❌            |            ✅            |
 | MESSAGE_PROPERTY_CONFLICT_WITH_TYPE |     ❌      |     ❌     |      ✅      |        ❌        |       ❌        |     ❌      |                ❌                |       ❌        |            ❌            |            ❌            |
 |      UNRECOGNIZED_CLIENT_TYPE       |     ❌      |     ✅     |      ❌      |        ❌        |       ❌        |     ❌      |                ❌                |       ❌        |            ✅            |            ❌            |
diff --git a/apache/rocketmq/v2/definition.proto b/apache/rocketmq/v2/definition.proto
index 02b009a..f0a637d 100644
--- a/apache/rocketmq/v2/definition.proto
+++ b/apache/rocketmq/v2/definition.proto
@@ -333,6 +333,8 @@ enum Code {
   MESSAGE_CORRUPTED = 40016;
   // Request is rejected due to missing of x-mq-client-id header.
   CLIENT_ID_REQUIRED = 40017;
+  // Polling time is illegal.
+  ILLEGAL_POLLING_TIME = 40018;
 
   // Generic code indicates that the client request lacks valid authentication
   // credentials for the requested resource.