@Override
    public TopicMetadata clone() {
        return new TopicMetadata(this.topic, this.unflushThreshold,
                this.unflushInterval, this.unflushDataHold,
                this.dataPath, this.deleteWhen, this.deletePolicy,
                this.numPartitions, this.acceptPublish,
                this.acceptSubscribe, this.statusId,
                this.numTopicStores, this.memCacheMsgSize,
                this.memCacheMsgCnt, this.memCacheFlushIntvl,
                this.maxMsgSize, this.minMemCacheSize);
    }
Build TopicMetadata by default topic meta and the special field values.

@param brokerDefMetadata    the default topic meta configure
@param topicName            the topic name
@param numTopicStores       the topic store count
@param numPartitions        the topic partition count
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/metadata/TopicMetadata.java