public StringBuilder toJsonString(final StringBuilder sb) {
        return sb.append("{\"type\":\"BdbBrokerConfEntity\",")
                .append("\"brokerId\":\"").append(brokerId)
                .append("\",\"brokerAddress\":\"").append(brokerAddress)
                .append("\",\"manageStatus\":\"").append(manageStatus)
                .append("\",\"numPartitions\":").append(numPartitions)
                .append(",\"unflushThreshold\":").append(unflushThreshold)
                .append(",\"unflushInterval\":").append(unflushInterval)
                .append(",\"deleteWhen\":\"").append(deleteWhen)
                .append("\",\"deletePolicy\":\"").append(deletePolicy)
                .append("\",\"manageStatus\":").append(manageStatus)
                .append(",\"acceptPublish\":").append(acceptPublish)
                .append(",\"acceptSubscribe\":").append(acceptSubscribe)
                .append(",\"isConfDataUpdated\":").append(isConfDataUpdated)
                .append(",\"isBrokerLoaded\":").append(isBrokerLoaded)
                .append(",\"numTopicStores\":").append(getNumTopicStores())
                .append(",\"dataPath\":\"").append(dataPath)
                .append("\",\"unflushDataHold\":").append(getDftUnFlushDataHold())
                .append(",\"memCacheMsgSizeInMB\":").append(getDftMemCacheMsgSizeInMB())
                .append(",\"memCacheMsgCntInK\":").append(getDftMemCacheMsgCntInK())
                .append(",\"memCacheFlushIntvl\":").append(getDftMemCacheFlushIntvl())
                .append(",\"createUser\":\"").append(createUser)
                .append("\",\"createDate\":\"")
                .append(DateTimeConvertUtils.date2yyyyMMddHHmmss(createDate))
                .append("\",\"modifyUser\":\"").append(modifyUser)
                .append("\",\"modifyDate\":\"")
                .append(DateTimeConvertUtils.date2yyyyMMddHHmmss(modifyDate))
                .append("\"}");
    }
Serialize config field to json format

@param sb  string buffer
@return  the content in json format
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/bdbstore/bdbentitys/BdbBrokerConfEntity.java