private ClientMaster.ApprovedClientConfig.Builder buildAllowedConfig4P() {
        ClientMaster.ApprovedClientConfig.Builder appdConfig =
                ClientMaster.ApprovedClientConfig.newBuilder();
        appdConfig.setConfigId(msgSizeHolder.getConfigId());
        return appdConfig;
    }
Get partitions of the given topic.

@param topic topic name
@return partition map
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/producer/ProducerManager.java