private void waitTopicsReady(boolean hasConsumer) {
        if (config.catchupTopicPrefix != null && !config.catchupTopicPrefix.isEmpty()) {
            LOGGER.info("Using catch-up topics, skipping topic readiness check.");
            return;
        }
        if (hasConsumer) {
            waitTopicsReadyWithConsumer();
        } else {
            waitTopicsReadyWithoutConsumer();
        }
        stats.reset();
    }
Partitions that are ready to be consumed.
Only used during the initial topic readiness check, which is, {@link #preparing} is true.
tools/src/main/java/org/apache/kafka/tools/automq/PerfCommand.java