public boolean isValid() {
        if (StringUtils.isBlank(mqType) || StringUtils.isBlank(url)) {
            return false;
        }
        return true;
    }
MQType.PULSAR, MQType.TUBEMQ  or MQType.PULSAR
inlong-common/src/main/java/org/apache/inlong/common/pojo/dataproxy/MQClusterInfo.java