public StringBuilder toWebJsonStr(StringBuilder sBuffer,
            boolean isConfUpdated, boolean isConfLoaded,
            boolean isLongName, boolean fullFormat) {
        if (isLongName) {
            sBuffer.append("{\"brokerId\":").append(brokerId)
                    .append(",\"brokerIp\":\"").append(brokerIp).append("\"")
                    .append(",\"brokerPort\":").append(brokerPort)
                    .append(",\"brokerTLSPort\":").append(brokerTLSPort)
                    .append(",\"brokerWebPort\":").append(brokerWebPort)
                    .append(",\"manageStatus\":\"").append(manageStatus.getDescription()).append("\"")
                    .append(",\"isConfChanged\":").append(isConfUpdated)
                    .append(",\"isConfLoaded\":").append(isConfLoaded)
                    .append(",\"regionId\":").append(regionId)
                    .append(",\"groupId\":").append(groupId);
        } else {
            sBuffer.append("{\"brkId\":").append(brokerId)
                    .append(",\"bIp\":\"").append(brokerIp).append("\"")
                    .append(",\"bPort\":").append(brokerPort)
                    .append(",\"bTlsPort\":").append(brokerTLSPort)
                    .append(",\"bWebPort\":").append(brokerWebPort)
                    .append(",\"mSts\":\"").append(manageStatus.getDescription()).append("\"")
                    .append(",\"isConfChg\":").append(isConfUpdated)
                    .append(",\"isConfLd\":").append(isConfLoaded)
                    .append(",\"rId\":").append(regionId)
                    .append(",\"gId\":").append(groupId);
        }
        topicProps.toWebJsonStr(sBuffer, isLongName);
        super.toWebJsonStr(sBuffer, isLongName);
        if (fullFormat) {
            sBuffer.append("}");
        }
        return sBuffer;
    }
Serialize field to json format

@param sBuffer   build container
@param isConfLoaded  whether configure updated
@param isConfUpdated  whether configure loaded
@param isLongName if return field key is long name
@param fullFormat if return full format json
@return process result
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/metastore/dao/entity/BrokerConfEntity.java