public void getErrorRspInfo(StringBuilder strBuff, boolean resetValue) {
            int totalCnt = 0;
            strBuff.append("\"rsp_details\":{");
            for (LongStatsCounter statsCounter : errRspStatsMap.values()) {
                if (statsCounter == null) {
                    continue;
                }
                if (totalCnt++ > 0) {
                    strBuff.append(",");
                }
                strBuff.append("\"").append(statsCounter.getFullName()).append("\":")
                        .append(statsCounter.getValue());
            }
            strBuff.append("}");
            if (resetValue) {
                errRspStatsMap.clear();
            }
        }
Get error response statistics

@param strBuff      string buffer
@param resetValue   whether to reset the current data
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/common/ClientStatsInfo.java