fuweng11 commented on code in PR #8207:
URL: https://github.com/apache/inlong/pull/8207#discussion_r1224115941


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/heartbeat/HeartbeatManager.java:
##########
@@ -231,7 +231,8 @@ private void evictClusterNode(HeartbeatMsg heartbeat) {
         // heartbeatInterval() is the reporting interval of cluster nodes, 
multiplied by two to prevent network
         // fluctuations
         ComponentHeartbeatEntity componentHeartbeatEntity = 
componentHeartbeatMapper.selectTimeOutHeartBeat(
-                componentHeartbeat.getComponentType(), 
componentHeartbeat.getIp(), heartbeatInterval() * 2L);
+                componentHeartbeat.getComponentType(), 
componentHeartbeat.getIp(),
+                heartbeatInterval() * heartbeatIntervalFactor);

Review Comment:
   Remove it.



##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/stream/InlongStreamServiceImpl.java:
##########
@@ -277,6 +277,32 @@ public InlongStreamInfo get(String groupId, String 
streamId, UserInfo opInfo) {
         return streamInfo;
     }
 
+    @Override
+    public InlongStreamBriefInfo getBrief(String groupId, String streamId, 
String operator) {
+        InlongGroupEntity entity = groupMapper.selectByGroupId(groupId);
+        if (entity == null) {
+            throw new BusinessException(ErrorCodeEnum.GROUP_NOT_FOUND);
+        }
+        // only the person in charges can query

Review Comment:
   Done.



-- 
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: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to