public boolean unRegBrokerNode(String nodeId, String createId) {
        TimeoutInfo timeoutInfo = brokerRegMap.get(nodeId);
        if (timeoutInfo == null) {
            return true;
        }
        if (!createId.equals(timeoutInfo.getSecondKey())) {
            return false;
        }
        timeoutInfo = brokerRegMap.remove(nodeId);
        return true;
    }
Unregister a node from the broker

@param nodeId the id of node to be unregistered
@return if the timeout delete, true: success, false: failure
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/heartbeat/HeartbeatManager.java