@Override
    public String toString() {
        return new StringBuilder(512)
                .append("\"StatsConfig\":{\"statsLevel\":\"").append(statsLevel.getName())
                .append("\",\"enableSelfPrint\":").append(enableSelfPrint)
                .append(",\"selfPrintPeriodMs\":").append(selfPrintPeriodMs)
                .append(",\"forcedResetPeriodMs\":").append(forcedResetPeriodMs)
                .append("}").toString();
    }
Update current period settings

@param selfPrintPeriodMs   the time interval that the SDK prints itself
@param forcedResetPeriodMs the resets interval for collecting data
inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/common/StatsConfig.java