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/14 11:24:04 UTC
[rocketmq-apis] branch v2 updated: [ISSUE #32] add check_message_type to publishing setting. (#33)
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 412af3f [ISSUE #32] add check_message_type to publishing setting. (#33)
412af3f is described below
commit 412af3faa68deadf85125ea24bd218a5189a3456
Author: Jixiang Jin <lo...@apache.org>
AuthorDate: Tue Jun 14 19:23:59 2022 +0800
[ISSUE #32] add check_message_type to publishing setting. (#33)
* [ISSUE #32] add check_message_type to publishing setting.
* [ISSUE #32]remove optional decorator
* change to validate_message_type
---
apache/rocketmq/v2/service.proto | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/apache/rocketmq/v2/service.proto b/apache/rocketmq/v2/service.proto
index c7ce2e9..3fae1dd 100644
--- a/apache/rocketmq/v2/service.proto
+++ b/apache/rocketmq/v2/service.proto
@@ -207,6 +207,10 @@ message Publishing {
// reject the request. As a result, it is advisable that Producer performs
// client-side check validation.
int32 max_body_size = 3;
+
+ // When `validate_message_type` flag set `false`, no need to validate message's type
+ // with messageQueue's `accept_message_types` before publising.
+ bool validate_message_type = 4;
}
message Subscription {