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 f8db67b Revert ReceiveMessage RPC to unary type
f8db67b is described below
commit f8db67bec2c5f150932a44bd2f644bb1cd32db70
Author: Li Zhanhui <[email protected]>
AuthorDate: Thu Mar 24 12:26:03 2022 +0000
Revert ReceiveMessage RPC to unary type
---
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 9757aca..9b7b9ae 100644
--- a/apache/rocketmq/v2/service.proto
+++ b/apache/rocketmq/v2/service.proto
@@ -343,7 +343,7 @@ service MessagingService {
// or consumer group doesn't exist, returns `NOT_FOUND`. If there is no new
// message in the specific topic, returns `OK` with an empty message set.
// Please note that client may suffer from false empty responses.
- rpc ReceiveMessage(ReceiveMessageRequest) returns (stream
ReceiveMessageResponse) {}
+ rpc ReceiveMessage(ReceiveMessageRequest) returns (ReceiveMessageResponse) {}
// Acknowledges the message associated with the `receipt_handle` or `offset`
// in the `AckMessageRequest`, it means the message has been successfully