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/04/24 06:06:57 UTC
[rocketmq-apis] branch v2 updated: Simplify ReceiveMessageResponse struct
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 e435877 Simplify ReceiveMessageResponse struct
e435877 is described below
commit e435877ba7b3e756d9fa4d7c5f3c5e61744f3da2
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Sun Apr 24 14:06:48 2022 +0800
Simplify ReceiveMessageResponse struct
---
apache/rocketmq/v2/service.proto | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/apache/rocketmq/v2/service.proto b/apache/rocketmq/v2/service.proto
index bd5f55f..34c48d3 100644
--- a/apache/rocketmq/v2/service.proto
+++ b/apache/rocketmq/v2/service.proto
@@ -83,10 +83,10 @@ message ReceiveMessageRequest {
}
message ReceiveMessageResponse {
- Status status = 1;
- Message message = 2;
- google.protobuf.Timestamp delivery_timestamp = 3;
- google.protobuf.Duration invisible_duration = 4;
+ oneof content {
+ Status status = 1;
+ Message message = 2;
+ }
}
message AckMessageEntry {