@Override
    public AgentConfigInfo getAgentConfig(AgentConfigRequest request) {
        LOGGER.debug("begin to get agent config info for {}", request);
        String key = request.getIp() + InlongConstants.UNDERSCORE + request.getClusterName();
        AgentConfigInfo agentConfigInfo = agentConfigMap.get(key);
        if (agentConfigInfo == null) {
            return null;
        }
        if (request.getMd5() == null || !Objects.equals(request.getMd5(), agentConfigInfo.getMd5())) {
            return agentConfigInfo;
        }
        LOGGER.debug("success to get agent config info for: {}, result: {}", request, agentConfigInfo);
        return AgentConfigInfo.builder()
                .md5(agentConfigInfo.getMd5())
                .code(AgentResponseCode.NO_UPDATE)
                .build();
    }
Update task status by command.

@param command command info.
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/core/impl/AgentServiceImpl.java