private String generateTopicName(String topicPrefix, int partitions, int index) {
        return String.format("%s%s_%04d_%07d", COMMON_TOPIC_PREFIX, topicPrefix, partitions, index);
    }
Wait until the topic is created, or throw an exception if it fails.
Note: It is okay if the topic already exists.
tools/src/main/java/org/apache/kafka/tools/automq/perf/TopicService.java