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/03/24 12:55:00 UTC

[rocketmq-apis] branch v2 updated: Remove HealthCheck unary RPC

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 8cfe562  Remove HealthCheck unary RPC
8cfe562 is described below

commit 8cfe562f436349d543b439d896db82e4c06fee32
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Thu Mar 24 12:54:00 2022 +0000

    Remove HealthCheck unary RPC
---
 apache/rocketmq/v2/service.proto | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/apache/rocketmq/v2/service.proto b/apache/rocketmq/v2/service.proto
index 9b7b9ae..4dfecbe 100644
--- a/apache/rocketmq/v2/service.proto
+++ b/apache/rocketmq/v2/service.proto
@@ -138,18 +138,12 @@ message ForwardMessageToDeadLetterQueueResponse {
   ResponseCommon common = 1;
 }
 
-message HeartbeatRequest { string client_id = 1; }
-
-message HeartbeatResponse {
-  ResponseCommon common = 1;
-}
-
-message HealthCheckRequest {
-  Resource group = 1;
-  string client_host = 2;
+message HeartbeatRequest {
+  string client_id = 1;
+  Resource group = 2;
 }
 
-message HealthCheckResponse {
+message HeartbeatResponse {
   ResponseCommon common = 1;
 }
 
@@ -305,11 +299,6 @@ service MessagingService {
   // returns `INVALID_ARGUMENT`
   rpc Heartbeat(HeartbeatRequest) returns (HeartbeatResponse) {}
 
-  // Checks the health status of message server, returns `OK` if services are
-  // online and serving. Clients may use this RPC to detect availability of
-  // messaging service, and take isolation actions when necessary.
-  rpc HealthCheck(HealthCheckRequest) returns (HealthCheckResponse) {}
-
   // Delivers messages to brokers.
   // Clients may further:
   // 1. Refine a message destination to message-queues which fulfills parts of