public boolean isMatched(TopicDeployEntity target, boolean fullMatch) {
        if (target == null) {
            return true;
        }
        if (fullMatch && !super.isMatched(target)) {
            return false;
        }
        return (target.getBrokerId() == TBaseConstants.META_VALUE_UNDEFINED
                || target.getBrokerId() == this.brokerId)
                && (target.getBrokerPort() == TBaseConstants.META_VALUE_UNDEFINED
                        || target.getBrokerPort() == this.brokerPort)
                && (target.getTopicId() == TBaseConstants.META_VALUE_UNDEFINED
                        || target.getTopicId() == this.topicNameId)
                && (TStringUtils.isBlank(target.getTopicName())
                        || target.getTopicName().equals(this.topicName))
                && (TStringUtils.isBlank(target.getBrokerIp())
                        || target.getBrokerIp().equals(this.brokerIp))
                && topicProps.isMatched(target.topicProps)
                && (target.getTopicStatus() == TopicStatus.STATUS_TOPIC_UNDEFINED
                        || target.getTopicStatus() == this.deployStatus);
    }
Check whether the specified query item value matches
Allowed query items:
  brokerId, topicId, topicName, topicStatus

@param target  the matched object
@param fullMatch  whether match parent parameters
@return true: matched, false: not match
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/metastore/dao/entity/TopicDeployEntity.java