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 04:04:58 UTC

[rocketmq-apis] branch v2 updated: Remove repeated support of messages in ReceiveMessageResponse as it is targeted use case is stream

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 092e8ab  Remove repeated support of messages in ReceiveMessageResponse as it is targeted use case is stream
092e8ab is described below

commit 092e8aba8e8c82bd340f9e36a6993f536dafec2a
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Sun Apr 24 12:04:50 2022 +0800

    Remove repeated support of messages in ReceiveMessageResponse as it is targeted use case is stream
---
 apache/rocketmq/v2/service.proto | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apache/rocketmq/v2/service.proto b/apache/rocketmq/v2/service.proto
index f5bb557..bd5f55f 100644
--- a/apache/rocketmq/v2/service.proto
+++ b/apache/rocketmq/v2/service.proto
@@ -84,7 +84,7 @@ message ReceiveMessageRequest {
 
 message ReceiveMessageResponse {
   Status status = 1;
-  repeated Message messages = 2;
+  Message message = 2;
   google.protobuf.Timestamp delivery_timestamp = 3;
   google.protobuf.Duration invisible_duration = 4;
 }