public Set<Integer> getAllPartitionIds() {
        Set<Integer> partIds = new HashSet<>();
        for (int i = 0; i < numTopicStores; i++) {
            for (int j = 0; j < numPartitions; j++) {
                partIds.add(i * TBaseConstants.META_STORE_INS_BASE + j);
            }
        }
        return partIds;
    }
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