healchow commented on code in PR #7913:
URL: https://github.com/apache/inlong/pull/7913#discussion_r1177623766
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/cluster/InlongClusterServiceImpl.java:
##########
@@ -1154,6 +1155,11 @@ public DataProxyNodeResponse getDataProxyNodes(String
groupId, String protocolTy
// TODO consider the data proxy load and re-balance
List<DataProxyNodeInfo> nodeList = new ArrayList<>();
for (InlongClusterNodeEntity nodeEntity : nodeEntities) {
+ if (Objects.equals(nodeEntity.getStatus(),
NodeStatus.HEARTBEAT_TIMEOUT.getStatus())) {
+ LOGGER.debug("data proxy is heart time out by parentId={},
ip={}, port={}", nodeEntity.getParentId(),
+ nodeEntity.getIp(), nodeEntity.getPort());
Review Comment:
```suggestion
LOGGER.debug("dataproxy node was timeout, parentId={} ip={}
port={}",
nodeEntity.getParentId(), nodeEntity.getIp(),
nodeEntity.getPort());
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]