private String buildTopicViewURL(MasterEntry masterNode, String topicName, Long clusterId) {
        String url = TubeConst.SCHEMA + masterNode.getIp() + ":" + masterNode.getWebPort() + TubeConst.TOPIC_VIEW;
        if (!isValidURL(url)) {
            log.error("Invalid URL: ClusterId = {}, URL = {}", clusterId, url);
            throw new IllegalArgumentException("Invalid URL.");
        }
        return url + TubeConst.TOPIC_NAME + topicName;
    }
Builds the URL for requesting topic view information.

@param masterNode The MasterEntry representing the TubeMQ master node.
@param topicName  The name of the topic.
@param clusterId  The ID of the TubeMQ cluster.
@return           The constructed URL.
@throws IllegalArgumentException If the URL is invalid.
inlong-tubemq/tubemq-manager/src/main/java/org/apache/inlong/tubemq/manager/service/TopicServiceImpl.java