public void getBrokerDefaultConfInfo(ClusterSettingEntity defSetting,
            StringBuilder strBuff) {
        TopicPropGroup defTopicProps = defSetting.getClsDefTopicProps();
        strBuff.append((topicProps.getNumPartitions() == TBaseConstants.META_VALUE_UNDEFINED)
                ? defTopicProps.getNumPartitions()
                : topicProps.getNumPartitions())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getAcceptPublish() == null)
                        ? defTopicProps.isAcceptPublish()
                        : topicProps.isAcceptPublish())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getAcceptSubscribe() == null)
                        ? defTopicProps.isAcceptSubscribe()
                        : topicProps.isAcceptSubscribe())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getUnflushThreshold() == TBaseConstants.META_VALUE_UNDEFINED)
                        ? defTopicProps.getUnflushThreshold()
                        : topicProps.getUnflushThreshold())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getUnflushInterval() == TBaseConstants.META_VALUE_UNDEFINED)
                        ? defTopicProps.getUnflushInterval()
                        : topicProps.getUnflushInterval())
                .append(TokenConstants.ATTR_SEP).append(" ").append(TokenConstants.ATTR_SEP)
                .append((TStringUtils.isEmpty(topicProps.getDeletePolicy()))
                        ? defTopicProps.getDeletePolicy()
                        : topicProps.getDeletePolicy())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getNumTopicStores() == TBaseConstants.META_VALUE_UNDEFINED)
                        ? defTopicProps.getNumTopicStores()
                        : topicProps.getNumTopicStores())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getUnflushDataHold() == TBaseConstants.META_VALUE_UNDEFINED)
                        ? defTopicProps.getUnflushDataHold()
                        : topicProps.getUnflushDataHold())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getMemCacheMsgSizeInMB() == TBaseConstants.META_VALUE_UNDEFINED)
                        ? defTopicProps.getMemCacheMsgSizeInMB()
                        : topicProps.getMemCacheMsgSizeInMB())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getMemCacheMsgCntInK() == TBaseConstants.META_VALUE_UNDEFINED)
                        ? defTopicProps.getMemCacheMsgCntInK()
                        : topicProps.getMemCacheMsgCntInK())
                .append(TokenConstants.ATTR_SEP)
                .append((topicProps.getMemCacheFlushIntvl() == TBaseConstants.META_VALUE_UNDEFINED)
                        ? defTopicProps.getMemCacheFlushIntvl()
                        : topicProps.getMemCacheFlushIntvl());
    }
Get broker config string

@param defSetting  the default setting
@param strBuff     the string buffer
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/metastore/dao/entity/BrokerConfEntity.java