private BrokerWriteService getBrokerService(BrokerInfo brokerInfo) {
        return rpcServiceFactory.getService(BrokerWriteService.class, brokerInfo, rpcConfig);
    }
Check if the given topic accept publish message.

@param topic topic name
@return if accept message
@throws TubeClientException
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/producer/SimpleMessageProducer.java