public StringBuilder toJsonString(final StringBuilder sBuilder) {
        sBuilder.append("{\"type\":\"BdbClusterSettingEntity\",")
                .append("\"recordKey\":\"").append(recordKey).append("\"")
                .append(",\"configId\":").append(configId)
                .append(",\"brokerPort\":").append(brokerPort)
                .append(",\"brokerTLSPort\":").append(brokerTLSPort)
                .append(",\"brokerWebPort\":").append(brokerWebPort)
                .append(",\"numTopicStores\":").append(numTopicStores)
                .append(",\"numPartitions\":").append(numPartitions)
                .append(",\"unflushThreshold\":").append(unflushThreshold)
                .append(",\"unflushInterval\":").append(unflushInterval)
                .append(",\"unflushDataHold\":").append(unflushDataHold)
                .append(",\"memCacheMsgCntInK\":").append(memCacheMsgCntInK)
                .append(",\"memCacheFlushIntvl\":").append(memCacheFlushIntvl)
                .append(",\"memCacheMsgSizeInMB\":").append(memCacheMsgSizeInMB)
                .append(",\"acceptPublish\":").append(acceptPublish)
                .append(",\"acceptSubscribe\":").append(acceptSubscribe)
                .append(",\"deletePolicy\":\"").append(deletePolicy).append("\"")
                .append(",\"maxMsgSizeInMB\":");
        if (maxMsgSizeInB == TBaseConstants.META_VALUE_UNDEFINED) {
            sBuilder.append(maxMsgSizeInB);
        } else {
            sBuilder.append(maxMsgSizeInB / TBaseConstants.META_MB_UNIT_SIZE);
        }
        return sBuilder.append(",\"qryPriorityId\":").append(qryPriorityId)
                .append(",\"attributes\":\"").append(attributes).append("\"")
                .append(",\"createUser\":\"").append(getCreateUser()).append("\"")
                .append(",\"createDate\":\"").append(getStrCreateDate()).append("\"")
                .append(",\"modifyUser\":\"").append(modifyUser).append("\"")
                .append(",\"modifyDate\":\"")
                .append(getStrModifyDate())
                .append("\"}");
    }
Serialize field to json format

@param sBuilder
@return
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/bdbstore/bdbentitys/BdbClusterSettingEntity.java