private void validateTopicName(String topicName, Long clusterId) {
        if (StringUtils.isBlank(topicName) || containsDangerousChars(topicName)
                || topicName.length() > MAX_TOPIC_NAME_LENGTH) {
            log.error("Invalid topicName: ClusterId = {}, TopicName = {}", clusterId, topicName);
            throw new IllegalArgumentException("Invalid topicName.");
        }
    }
Validates if the provided topic name is valid.

@param topicName The topic name to validate.
@param clusterId The ID of the TubeMQ cluster.
@throws IllegalArgumentException If the topic name is invalid.
inlong-tubemq/tubemq-manager/src/main/java/org/apache/inlong/tubemq/manager/service/TopicServiceImpl.java